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
2 files
+ 22
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -49,6 +49,16 @@ metadata:
helm.sh/hook-delete-policy: "hook-succeeded,before-hook-creation"
helm.sh/hook-weight: "1"
---
apiVersion: v1
kind: ConfigMap
metadata:
name: crds
binaryData:
{{ range $path, $bytes := .Files.Glob (printf "/chart/crds/**")}}
{{ $name := base $path }}
{{- sha256sum (printf "%s/%s" (index (regexSplit "/chart/crds" (dir $path) -1) 1 ) $name ) | indent 2 }}{{ print ": "}}{{ $.Files.Get $path | b64enc }}
{{ end }}
---
apiVersion: batch/v1
kind: Job
metadata:
@@ -84,4 +94,15 @@ spec:
{{- toYaml .Values.image.pullSecrets | nindent 8 }}
nodeSelector:
kubernetes.io/os: linux
volumes:
- name: crds
configMap:
name: crds
volumeMounts:
{{ range $path, $bytes := .Files.Glob ( printf "/chart/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 }}
{{ end }}
{{- end }}
\ No newline at end of file
Loading