mirror of https://git.rancher.io/charts
19 lines
797 B
Diff
19 lines
797 B
Diff
--- charts-original/templates/upgrade-crds-hook.yaml
|
|
+++ charts/templates/upgrade-crds-hook.yaml
|
|
@@ -72,11 +72,11 @@
|
|
restartPolicy: Never
|
|
containers:
|
|
- name: crds-upgrade
|
|
- image: '{{ .Values.image.crdRepository }}:{{ .Values.image.release }}'
|
|
- imagePullPolicy: '{{ .Values.image.pullPolicy }}'
|
|
+ image: '{{ template "system_default_registry" . }}{{ .Values.images.gatekeepercrd.repository }}:{{ .Values.images.gatekeepercrd.tag }}'
|
|
+ imagePullPolicy: '{{ .Values.images.pullPolicy }}'
|
|
args:
|
|
- apply
|
|
- -f
|
|
- crds/
|
|
- nodeSelector:
|
|
- kubernetes.io/os: linux
|
|
+ nodeSelector: {{ include "linux-node-selector" . | nindent 8 }}
|
|
+ tolerations: {{ include "linux-node-tolerations" . | nindent 8 }}
|