File tree Expand file tree Collapse file tree 5 files changed +20
-0
lines changed Expand file tree Collapse file tree 5 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ metadata:
2424 annotations :
2525 argocd.argoproj.io/hook : Sync
2626 argocd.argoproj.io/hook-delete-policy : HookSucceeded
27+ {{- with .Values.controller.annotations }}
28+ {{- toYaml . | nindent 4 }}
29+ {{- end }}
2730spec :
2831{{- if or (.Capabilities.APIVersions.Has "batch/v1alpha1") (semverCompare ">=1.23.0-0" .Capabilities.KubeVersion.Version) }}
2932{{- if .Values.crdjob.ttlSecondsAfterFinished }}
Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ kind: DaemonSet
2424metadata :
2525 name : {{ include "kubernetes-ingress.fullname" . }}
2626 namespace : {{ include "kubernetes-ingress.namespace" . }}
27+ {{- with .Values.controller.annotations }}
28+ annotations :
29+ {{- toYaml . | nindent 4 }}
30+ {{- end }}
2731 labels :
2832 {{- include "kubernetes-ingress.labels" . | nindent 4 }}
2933 {{- if .Values.controller.extraLabels }}
Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ kind: Deployment
2020metadata :
2121 name : {{ include "kubernetes-ingress.fullname" . }}
2222 namespace : {{ include "kubernetes-ingress.namespace" . }}
23+ {{- with .Values.controller.annotations }}
24+ annotations :
25+ {{- toYaml . | nindent 4 }}
26+ {{- end }}
2327 labels :
2428 {{- include "kubernetes-ingress.labels" . | nindent 4 }}
2529 {{- if .Values.controller.extraLabels }}
Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ kind: Deployment
2020metadata :
2121 name : {{ include "kubernetes-ingress.serviceProxyName" . }}
2222 namespace : {{ include "kubernetes-ingress.namespace" . }}
23+ {{- with .Values.controller.annotations }}
24+ annotations :
25+ {{- toYaml . | nindent 4 }}
26+ {{- end }}
2327 labels :
2428 {{- include "kubernetes-ingress.serviceProxyLabels" . | nindent 4 }}
2529 {{- if .Values.controller.extraLabels }}
Original file line number Diff line number Diff line change @@ -187,6 +187,11 @@ controller:
187187 extraLabels : {}
188188 # key: value
189189
190+ # # Additional annotations to add to the deployment or daemonset metadata
191+ # # ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
192+ annotations : {}
193+ # key: value
194+
190195 # # Additional labels to add to the pod container metadata
191196 # # ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
192197 podLabels : {}
You can’t perform that action at this time.
0 commit comments