diff --git a/chart/templates/gitlab-runner/values.yaml b/chart/templates/gitlab-runner/values.yaml index 4551f6016279f8bf39556794033afdd2f8843f79..317d26ef2f68432ecbc12674650d2ee74c573e47 100644 --- a/chart/templates/gitlab-runner/values.yaml +++ b/chart/templates/gitlab-runner/values.yaml @@ -14,4 +14,11 @@ networkPolicies: monitoring: enabled: {{ .Values.monitoring.enabled }} + +# When istio injected, add an annotation with the istio version to the manager pods only +{{- if (and (eq (dig "istio" "injection" "enabled" .Values.addons.gitlab) "enabled") .Values.istio.enabled) }} +podAnnotations: + {{ include "istioAnnotation" . }} +{{- end }} + {{- end -}}