rancher-charts/packages/rancher-gatekeeper/generated-changes/patch/templates/upgrade-crds-hook.yaml.patch

36 lines
1.4 KiB
Diff
Raw Normal View History

--- charts-original/templates/upgrade-crds-hook.yaml
+++ charts/templates/upgrade-crds-hook.yaml
2022-06-15 04:29:13 +00:00
@@ -75,18 +75,14 @@
2022-04-08 11:22:59 +00:00
spec:
serviceAccountName: gatekeeper-admin-upgrade-crds
restartPolicy: Never
2022-04-08 11:22:59 +00:00
- {{- if .Values.image.pullSecrets }}
+ {{- if .Values.images.pullSecrets }}
imagePullSecrets:
- {{- toYaml .Values.image.pullSecrets | nindent 8 }}
+ {{- toYaml .Values.images.pullSecrets | nindent 8 }}
{{- end }}
containers:
- name: crds-upgrade
2022-06-15 04:29:13 +00:00
- {{- if not .Values.image.release }}
- image: '{{ .Values.image.crdRepository }}'
- {{- else }}
- image: '{{ .Values.image.crdRepository }}:{{ .Values.image.release }}'
2022-06-15 04:29:13 +00:00
- {{- end }}
- imagePullPolicy: '{{ .Values.image.pullPolicy }}'
+ image: '{{ template "system_default_registry" . }}{{ .Values.images.gatekeepercrd.repository }}:{{ .Values.images.gatekeepercrd.tag }}'
+ imagePullPolicy: '{{ .Values.images.pullPolicy }}'
args:
- apply
- -f
2022-06-15 04:29:13 +00:00
@@ -95,7 +91,6 @@
{{- toYaml .Values.crds.resources | nindent 10 }}
securityContext:
{{- toYaml .Values.crds.securityContext | nindent 10 }}
- nodeSelector:
- kubernetes.io/os: linux
-
+ nodeSelector: {{ include "linux-node-selector" . | nindent 8 }}
+ tolerations: {{ include "linux-node-tolerations" . | nindent 8 }}
{{- end }}