mirror of https://git.rancher.io/charts
27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
--- charts-original/templates/webhook-configs-pre-delete.yaml
|
|
+++ charts/templates/webhook-configs-pre-delete.yaml
|
|
@@ -35,7 +35,7 @@
|
|
serviceAccount: gatekeeper-delete-webhook-configs
|
|
containers:
|
|
- name: kubectl-delete
|
|
- image: "{{ .Values.preUninstall.deleteWebhookConfigurations.image.repository }}:{{ .Values.preUninstall.deleteWebhookConfigurations.image.tag }}"
|
|
+ image: '{{ template "system_default_registry" . }}{{ .Values.preUninstall.deleteWebhookConfigurations.image.repository }}:{{ .Values.preUninstall.deleteWebhookConfigurations.image.tag }}'
|
|
imagePullPolicy: {{ .Values.preUninstall.deleteWebhookConfigurations.image.pullPolicy }}
|
|
args:
|
|
- delete
|
|
@@ -54,12 +54,10 @@
|
|
{{- end }}
|
|
{{- toYaml .Values.preUninstall.securityContext | nindent 10 }}
|
|
{{- with .Values.preUninstall }}
|
|
- nodeSelector:
|
|
- {{- toYaml .nodeSelector | nindent 8 }}
|
|
+ nodeSelector: {{ include "linux-node-selector" . | nindent 8 }}
|
|
+ tolerations: {{ include "linux-node-tolerations" . | nindent 8 }}
|
|
affinity:
|
|
{{- toYaml .affinity | nindent 8 }}
|
|
- tolerations:
|
|
- {{- toYaml .tolerations | nindent 8 }}
|
|
{{- end }}
|
|
---
|
|
apiVersion: v1
|