Browse Source

[k8s] Add podLabels to values (#1305)

Reinaldo de Souza Jr 5 years ago
parent
commit
68aaa93873

+ 3 - 0
tools/kubernetes/helm/hue/templates/deployment-hue.yaml

@@ -17,6 +17,9 @@ spec:
     metadata:
       labels:
         pod: hue
+{{- with .Values.podLabels }}
+{{ toYaml . | indent 8 }}
+{{- end }}
       annotations:
         checksum/config: {{ include (print $.Template.BasePath "/configmap-hue.yaml") . | sha256sum }}
         checksum/config-extra: {{ include (print $.Template.BasePath "/configmap-hue-extra.yaml") . | sha256sum }}

+ 3 - 0
tools/kubernetes/helm/hue/values.yaml

@@ -66,3 +66,6 @@ aws:
 
 ## Pod Annotations
 # podAnnotations: {}
+
+## Pod Labels
+# podLabels: {}