소스 검색

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 년 전
부모
커밋
fcb90acc7c
2개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 0
      tools/kubernetes/helm/hue/templates/deployment-hue.yaml
  2. 4 1
      tools/kubernetes/helm/hue/values.yaml

+ 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: {}