From 8ac58dffacae77f898fdf489b87699880557c502 Mon Sep 17 00:00:00 2001 From: John Mazzitelli Date: Mon, 2 May 2022 16:05:33 -0400 Subject: [PATCH] be able to add containers to Kiali pod part of: https://github.com/kiali/kiali/issues/5028 operator PR: https://github.com/kiali/kiali-operator/pull/524 --- kiali-server/templates/deployment.yaml | 3 +++ kiali-server/values.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/kiali-server/templates/deployment.yaml b/kiali-server/templates/deployment.yaml index 58c1c25..4635ad1 100644 --- a/kiali-server/templates/deployment.yaml +++ b/kiali-server/templates/deployment.yaml @@ -124,6 +124,9 @@ spec: resources: {{- toYaml .Values.deployment.resources | nindent 10 }} {{- end }} + {{- if .Values.deployment.additional_pod_containers_yaml }} + {{- toYaml .Values.deployment.additional_pod_containers_yaml | nindent 6 }} + {{- end }} volumes: - name: {{ include "kiali-server.fullname" . }}-configuration configMap: diff --git a/kiali-server/values.yaml b/kiali-server/values.yaml index d031a8e..f2c2e6b 100644 --- a/kiali-server/values.yaml +++ b/kiali-server/values.yaml @@ -30,6 +30,7 @@ deployment: # For more control over what the Kial Service Account can see, use the Kiali Operator accessible_namespaces: - "**" + additional_pod_containers_yaml: {} additional_service_yaml: {} affinity: node: {}