Skip to content

Commit

Permalink
hardcode ANSIBLE_LOCAL_TEMP to prevent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-gc committed Nov 29, 2023
1 parent f6084c3 commit ad9b4d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion kiali-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ spec:
- name: ALLOW_AD_HOC_KIALI_IMAGE
value: {{ .Values.allowAdHocKialiImage | quote }}
- name: ANSIBLE_LOCAL_TEMP
value: {{ .Values.localAnsibleTmpPath | quote }}
value: "/tmp/ansible/tmp"
{{- if .Capabilities.APIVersions.Has "route.openshift.io/v1" }}
- name: ALLOW_AD_HOC_OSSMCONSOLE_IMAGE
value: {{ .Values.allowAdHocOSSMConsoleImage | quote }}
Expand Down
5 changes: 0 additions & 5 deletions kiali-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@ allowSecurityContextOverride: false
# Note that this will be overriden to "true" if cr.create is true and cr.spec.deployment.accessible_namespaces is ['**'].
allowAllAccessibleNamespaces: true

# localAnsibleTmpPath is the path of the local Ansible temp directory. This sets the ANSIBLE_LOCAL_TEMP variable which
# in turn sets the DEFAULT_LOCAL_TMP configuration. An emptyDir is mounted to /tmp for the kiali-operator container.
# Ansible needs write access on this directory so modifying it might have implications if read-only root filesystem is enabled.
localAnsibleTmpPath: /tmp/ansible/tmp

# accessibleNamespacesLabel restricts the namespaces that a user can add to the Kiali CR spec.deployment.accessible_namespaces.
# This value is either an empty string (which disables this feature) or a label name with an optional label value
# (e.g. "mylabel" or "mylabel=myvalue"). Only namespaces that have that label will be permitted in
Expand Down

0 comments on commit ad9b4d5

Please sign in to comment.