From f261147a487817de20befae6b0f3711f7140182c 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 0a21a72..5722928 100644 --- a/kiali-server/templates/deployment.yaml +++ b/kiali-server/templates/deployment.yaml @@ -139,6 +139,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 40fba21..df43ad8 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: {}