(postgres) Fix deployment for prometheus exporter
- The deployment resource for the prometheus exporter was missing the required (by apps/v1) field spec.selector. Add it. Change-Id: I8afb8541ea1660ee5ca610d7d2b4cfd149d317dc
This commit is contained in:
parent
6497dd568a
commit
0be9b28f60
@ -26,6 +26,9 @@ metadata:
|
||||
spec:
|
||||
replicas: {{ .Values.pod.replicas.prometheus_postgresql_exporter }}
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.kubernetes_upgrades_deployment" | indent 2 }}
|
||||
selector:
|
||||
matchLabels:
|
||||
{{ tuple $envAll "prometheus_postgresql_exporter" "exporter" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 6 }}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
Loading…
Reference in New Issue
Block a user