UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit b5be4ce0 authored by kevin.wilder's avatar kevin.wilder Committed by Micah Nagel
Browse files

SKIP UPGRADE Kyverno policy keycloak exception

parent d4433205
No related branches found
No related tags found
1 merge request!2362SKIP UPGRADE Kyverno policy keycloak exception
......@@ -121,7 +121,7 @@ policies:
{{- end }}
{{- end }}
{{- if or (.Values.addons.gitlab.enabled) (and (dig "console" "localVolumeUpgrade" false .Values.twistlock.values) (.Release.IsUpgrade)) }}
{{- if or (.Values.addons.gitlab.enabled) (and (dig "console" "localVolumeUpgrade" false .Values.twistlock.values) (.Release.IsUpgrade)) .Values.addons.keycloak.enabled }}
disallow-shared-subpath-volume-writes:
# Subpath volumes can be used in combination with symlinks to break out into the host filesystem
exclude:
......@@ -134,6 +134,9 @@ policies:
{{- if (dig "console" "localVolumeUpgrade" false .Values.twistlock.values) }}
- twistlock
{{- end }}
{{- if .Values.addons.keycloak.enabled }}
- keycloak
{{- end }}
names:
{{- if (dig "console" "localVolumeUpgrade" false .Values.twistlock.values) }}
- volume-upgrade-job*
......@@ -190,6 +193,10 @@ policies:
# volume. The shared volume is mounted with subpaths pointing to specific files in the container.
- gitlab-gitaly*
{{- end }}
{{- if .Values.addons.keycloak.enabled }}
# Volumes using emptyDir shared with initContainers to inject custom provider plugins or custom themes
- keycloak-*
{{- end }}
{{- end }}
{{- if or .Values.fluentbit.enabled .Values.monitoring.enabled .Values.twistlock.enabled }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment