2022-08-22 07:07:17 +00:00
|
|
|
--- charts-original/templates/namespace-post-upgrade.yaml
|
|
|
|
+++ charts/templates/namespace-post-upgrade.yaml
|
2022-11-18 05:40:28 +00:00
|
|
|
@@ -32,7 +32,7 @@
|
2022-08-22 07:07:17 +00:00
|
|
|
serviceAccount: gatekeeper-update-namespace-label-post-upgrade
|
|
|
|
containers:
|
|
|
|
- name: kubectl-label
|
|
|
|
- image: "{{ .Values.postUpgrade.labelNamespace.image.repository }}:{{ .Values.postUpgrade.labelNamespace.image.tag }}"
|
|
|
|
+ image: '{{ template "system_default_registry" . }}{{ .Values.postUpgrade.labelNamespace.image.repository }}:{{ .Values.postUpgrade.labelNamespace.image.tag }}'
|
|
|
|
imagePullPolicy: {{ .Values.postUpgrade.labelNamespace.image.pullPolicy }}
|
|
|
|
args:
|
|
|
|
- label
|
2022-11-18 05:40:28 +00:00
|
|
|
@@ -51,12 +51,10 @@
|
|
|
|
securityContext:
|
|
|
|
{{- toYaml .Values.postUpgrade.securityContext | nindent 12 }}
|
|
|
|
{{- with .Values.postUpgrade }}
|
|
|
|
+ nodeSelector: {{ include "linux-node-selector" . | nindent 8 }}
|
|
|
|
+ tolerations: {{ include "linux-node-tolerations" . | nindent 8 }}
|
|
|
|
affinity:
|
|
|
|
{{- toYaml .affinity | nindent 8 }}
|
|
|
|
- tolerations:
|
|
|
|
- {{- toYaml .tolerations | nindent 8 }}
|
|
|
|
- nodeSelector:
|
|
|
|
- {{- toYaml .nodeSelector | nindent 8 }}
|
|
|
|
{{- end }}
|
|
|
|
---
|
|
|
|
apiVersion: v1
|