diff --git a/chart/templates/argocd/values.yaml b/chart/templates/argocd/values.yaml index ebff8910647bca4d6f01c1fa80a1350fc79a89a7..a204a7d33215684ac9d41ca16853c6ad6aac4a1e 100644 --- a/chart/templates/argocd/values.yaml +++ b/chart/templates/argocd/values.yaml @@ -15,6 +15,11 @@ global: imagePullPolicy: {{ .Values.imagePullPolicy }} imagePullSecrets: - name: private-registry +{{- $istioInjection := (and (eq (dig "istio" "injection" "enabled" .Values.addons.argocd) "enabled") .Values.istio.enabled) }} +{{- if $istioInjection }} + podAnnotations: + {{ include "istioAnnotation" . }} +{{- end }} controller: image: @@ -50,6 +55,14 @@ redis-bb: enabled: true namespace: monitoring {{- end }} +{{- if $istioInjection }} + master: + podAnnotations: + {{ include "istioAnnotation" . }} + replica: + podAnnotations: + {{ include "istioAnnotation" . }} +{{- end }} server: image: