diff --git a/stable/prometheus/Chart.yaml b/stable/prometheus/Chart.yaml index 8a265c5339..2e59919a00 100755 --- a/stable/prometheus/Chart.yaml +++ b/stable/prometheus/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: prometheus -version: 9.4.0 +version: 9.4.1 appVersion: 2.13.1 description: Prometheus is a monitoring system and time series database. home: https://prometheus.io/ diff --git a/stable/prometheus/templates/alertmanager-clusterrole.yaml b/stable/prometheus/templates/alertmanager-clusterrole.yaml index a8b006d1d0..b8c677bf8e 100644 --- a/stable/prometheus/templates/alertmanager-clusterrole.yaml +++ b/stable/prometheus/templates/alertmanager-clusterrole.yaml @@ -15,5 +15,7 @@ rules: - use resourceNames: - {{ template "prometheus.alertmanager.fullname" . }} +{{- else }} + [] {{- end }} {{- end }} diff --git a/stable/prometheus/templates/pushgateway-clusterrole.yaml b/stable/prometheus/templates/pushgateway-clusterrole.yaml index a1ca528e02..5be9b109dc 100644 --- a/stable/prometheus/templates/pushgateway-clusterrole.yaml +++ b/stable/prometheus/templates/pushgateway-clusterrole.yaml @@ -15,5 +15,7 @@ rules: - use resourceNames: - {{ template "prometheus.pushgateway.fullname" . }} +{{- else }} + [] {{- end }} {{- end }}