From dc7fdf49f813f2646a5b2995c0b9c0f9933c3161 Mon Sep 17 00:00:00 2001 From: John Mazzitelli Date: Mon, 2 May 2022 16:16:29 -0400 Subject: [PATCH] be able to set the allowAdHocContainers value --- kiali-operator/templates/deployment.yaml | 2 ++ kiali-operator/values.yaml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/kiali-operator/templates/deployment.yaml b/kiali-operator/templates/deployment.yaml index 7e8018a..d798602 100644 --- a/kiali-operator/templates/deployment.yaml +++ b/kiali-operator/templates/deployment.yaml @@ -78,6 +78,8 @@ spec: value: {{ .Values.allowAdHocKialiNamespace | quote }} - name: ALLOW_AD_HOC_KIALI_IMAGE value: {{ .Values.allowAdHocKialiImage | quote }} + - name: ALLOW_AD_HOC_CONTAINERS + value: {{ .Values.allowAdHocContainers | quote }} - name: ALLOW_SECURITY_CONTEXT_OVERRIDE value: {{ .Values.allowSecurityContextOverride | quote }} - name: ALLOW_ALL_ACCESSIBLE_NAMESPACES diff --git a/kiali-operator/values.yaml b/kiali-operator/values.yaml index 4ffd44d..47ae094 100644 --- a/kiali-operator/values.yaml +++ b/kiali-operator/values.yaml @@ -70,6 +70,10 @@ allowAdHocKialiNamespace: true # You may want to disable this if you do not want users to install their own Kiali images. allowAdHocKialiImage: false +# allowAdHocContainers tells the operator to allow a user to be able to install additional pod containers to the Kiali pod. +# In other words, it will allow the Kiali CR spec.deployment.additional_pod_containers_yaml to be configured by the user. +allowAdHocContainers: false + # allowSecurityContextOverride tells the operator to allow a user to be able to fully override the Kiali # container securityContext. If this is false, certain securityContext settings must exist on the Kiali # container and any attempt to override them will be ignored.