You've already forked prometheus-postgres-exporter
							
							style: avoid control operator of toYaml
This commit is contained in:
		| @@ -5,7 +5,7 @@ kind: ConfigMap | ||||
| metadata: | ||||
|   {{- with (include "prometheus-postgres-exporter.configMap.grafanaDashboards.postgresExporter.annotations" . | fromYaml) }} | ||||
|   annotations: | ||||
|     {{- tpl (. | toYaml) $ | nindent 4 }} | ||||
|     {{- tpl (toYaml .) $ | nindent 4 }} | ||||
|   {{- end }} | ||||
|   {{- with (include "prometheus-postgres-exporter.configMap.grafanaDashboards.postgresExporter.labels" . | fromYaml) }} | ||||
|   labels: | ||||
|   | ||||
| @@ -3,7 +3,7 @@ kind: Deployment | ||||
| metadata: | ||||
|   {{- with (include "prometheus-postgres-exporter.deployment.annotations" . | fromYaml) }} | ||||
|   annotations: | ||||
|     {{- tpl (. | toYaml) $ | nindent 4 }} | ||||
|     {{- tpl (toYaml .) $ | nindent 4 }} | ||||
|   {{- end }} | ||||
|   {{- with (include "prometheus-postgres-exporter.deployment.labels" . | fromYaml) }} | ||||
|   labels: | ||||
|   | ||||
| @@ -5,7 +5,7 @@ kind: Ingress | ||||
| metadata: | ||||
|   {{- with (include "prometheus-postgres-exporter.ingress.annotations" . | fromYaml) }} | ||||
|   annotations: | ||||
|     {{- tpl (. | toYaml) $ | nindent 4 }} | ||||
|     {{- tpl (toYaml .) $ | nindent 4 }} | ||||
|   {{- end }} | ||||
|   {{- with (include "prometheus-postgres-exporter.ingress.labels" . | fromYaml) }} | ||||
|   labels: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user