(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:
Scott Hussey 2019-03-07 13:44:15 -06:00
parent 6497dd568a
commit 0be9b28f60

View File

@ -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: