rancher-charts/packages/rancher-gatekeeper/generated-changes/patch/templates/namespace-post-install.yaml...

27 lines
1.1 KiB
Diff
Raw Normal View History

--- charts-original/templates/namespace-post-install.yaml
+++ charts/templates/namespace-post-install.yaml
2022-11-18 05:40:28 +00:00
@@ -40,7 +40,7 @@
2022-08-22 07:07:17 +00:00
{{- end }}
containers:
- name: kubectl-label
- image: "{{ .Values.postInstall.labelNamespace.image.repository }}:{{ .Values.postInstall.labelNamespace.image.tag }}"
+ image: '{{ template "system_default_registry" . }}{{ .Values.postInstall.labelNamespace.image.repository }}:{{ .Values.postInstall.labelNamespace.image.tag }}'
imagePullPolicy: {{ .Values.postInstall.labelNamespace.image.pullPolicy }}
2022-04-08 11:22:59 +00:00
args:
- label
2022-11-18 05:40:28 +00:00
@@ -63,12 +63,10 @@
{{- end }}
{{- toYaml .Values.postInstall.securityContext | nindent 12 }}
{{- with .Values.postInstall }}
- 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