2021-09-16 23:57:00 +00:00
|
|
|
--- charts-original/templates/upgrade-crds-hook.yaml
|
|
|
|
+++ charts/templates/upgrade-crds-hook.yaml
|
2022-03-17 23:33:13 +00:00
|
|
|
@@ -72,11 +72,11 @@
|
2021-09-16 23:57:00 +00:00
|
|
|
restartPolicy: Never
|
|
|
|
containers:
|
|
|
|
- name: crds-upgrade
|
|
|
|
- image: '{{ .Values.image.crdRepository }}:{{ .Values.image.release }}'
|
2021-09-30 13:12:04 +00:00
|
|
|
- imagePullPolicy: '{{ .Values.image.pullPolicy }}'
|
|
|
|
+ image: '{{ template "system_default_registry" . }}{{ .Values.images.gatekeepercrd.repository }}:{{ .Values.images.gatekeepercrd.tag }}'
|
|
|
|
+ imagePullPolicy: '{{ .Values.images.pullPolicy }}'
|
2021-09-16 23:57:00 +00:00
|
|
|
args:
|
|
|
|
- apply
|
2021-09-30 13:12:04 +00:00
|
|
|
- -f
|
2022-03-17 23:33:13 +00:00
|
|
|
- crds/
|
|
|
|
- nodeSelector:
|
|
|
|
- kubernetes.io/os: linux
|
|
|
|
+ nodeSelector: {{ include "linux-node-selector" . | nindent 8 }}
|
|
|
|
+ tolerations: {{ include "linux-node-tolerations" . | nindent 8 }}
|