Jelajahi Sumber

PR1079 [k8s] Add podAnnotations section (#1079)

Co-authored-by: Raj Poluri <rpoluri@expediagroup.com>

Which can be used to configure kiam, prometheus using annotations
rpoluri 5 tahun lalu
induk
melakukan
fcb90acc7c

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

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

+ 4 - 1
tools/kubernetes/helm/hue/values.yaml

@@ -62,4 +62,7 @@ ingress:
 aws:
   accessKeyId: ""
   secretAccessKey: ""
-  region: "us-east-1"
+  awsRegion: "us-east-1"
+
+## Pod Annotations
+# podAnnotations: {}