UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Update gatekeeper to 3.6.0

Merged Jordan Olachea requested to merge bb-747-retry into main
1 unresolved thread
1 file
+ 5
5
Compare changes
  • Side-by-side
  • Inline
@@ -58,9 +58,9 @@ metadata:
helm.sh/hook-weight: "1"
helm.sh/hook-delete-policy: "hook-succeeded,before-hook-creation"
binaryData:
{{ range $path, $bytes := .Files.Glob (printf "/chart/crds/**")}}
{{ range $path, $bytes := .Files.Glob (printf "/crds/**")}}
{{ $name := base $path }}
{{- sha256sum (printf "%s/%s" (index (regexSplit "/chart/crds" (dir $path) -1) 1 ) $name ) | indent 2 }}{{ print ": "}}{{ $.Files.Get $path | b64enc }}
{{- sha256sum (printf "%s/%s" (index (regexSplit "/crds" (dir $path) -1) 1 ) $name ) | indent 2 }}{{ print ": "}}{{ $.Files.Get $path | b64enc }}
{{ end }}
---
apiVersion: batch/v1
@@ -103,10 +103,10 @@ spec:
configMap:
name: crds
volumeMounts:
{{ range $path, $bytes := .Files.Glob ( printf "/chart/crds/**") }}
{{ range $path, $bytes := .Files.Glob ( printf "/crds/**") }}
{{ $name := base $path }}
- name: cm-multi-file-volume
mountPath: {{ printf "/etc/configuration/%s/%s" (index (regexSplit "/chart/crds" (dir $path) -1) 1) $name | indent 2 }}
subPath: {{- sha256sum (printf "%s/%s" (index (regexSplit "/chart/crds" (dir $path) -1) 1 ) $name ) | indent 2 }}
mountPath: {{ printf "/etc/configuration/%s/%s" (index (regexSplit "/crds" (dir $path) -1) 1) $name | indent 2 }}
subPath: {{- sha256sum (printf "%s/%s" (index (regexSplit "/crds" (dir $path) -1) 1 ) $name ) | indent 2 }}
{{ end }}
{{- end }}
\ No newline at end of file
Loading