Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

be able to add containers to Kiali pod #137

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions kiali-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ spec:
- name: ALLOW_AD_HOC_OSSMCONSOLE_IMAGE
value: {{ .Values.allowAdHocOSSMConsoleImage | quote }}
{{- end }}
- name: ALLOW_AD_HOC_CONTAINERS
value: {{ .Values.allowAdHocContainers | quote }}
- name: ALLOW_SECURITY_CONTEXT_OVERRIDE
value: {{ .Values.allowSecurityContextOverride | quote }}
- name: ALLOW_ALL_ACCESSIBLE_NAMESPACES
Expand Down
4 changes: 4 additions & 0 deletions kiali-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ allowAdHocKialiImage: false
# This is only applicable when running on OpenShift.
allowAdHocOSSMConsoleImage: 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.
Expand Down
3 changes: 3 additions & 0 deletions kiali-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions kiali-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,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: {}
Expand Down
Loading