rancher-charts/packages/rancher-gatekeeper/generated-changes/patch/templates/gatekeeper-audit-deployment...

53 lines
2.1 KiB
Diff
Raw Normal View History

--- charts-original/templates/gatekeeper-audit-deployment.yaml
+++ charts/templates/gatekeeper-audit-deployment.yaml
2022-08-22 07:07:17 +00:00
@@ -42,11 +42,7 @@
2022-06-15 04:29:13 +00:00
{{- toYaml .Values.audit.affinity | nindent 8 }}
automountServiceAccountToken: true
containers:
- - {{- if .Values.image.release }}
- image: {{ .Values.image.repository }}:{{ .Values.image.release }}
- {{- else }}
- image: {{ .Values.image.repository }}
- {{- end }}
+ - image: '{{ template "system_default_registry" . }}{{ .Values.images.gatekeeper.repository }}:{{ .Values.images.gatekeeper.tag }}'
args:
- --audit-interval={{ .Values.auditInterval }}
- --log-level={{ .Values.logLevel }}
2022-11-18 05:40:28 +00:00
@@ -87,7 +83,7 @@
2022-08-22 07:07:17 +00:00
fieldPath: metadata.namespace
- name: CONTAINER_NAME
value: manager
- imagePullPolicy: '{{ .Values.image.pullPolicy }}'
+ imagePullPolicy: '{{ .Values.images.pullPolicy }}'
livenessProbe:
httpGet:
path: /healthz
2022-11-18 05:40:28 +00:00
@@ -123,9 +119,11 @@
2022-04-08 11:22:59 +00:00
dnsPolicy: {{ .Values.audit.dnsPolicy }}
hostNetwork: {{ .Values.audit.hostNetwork }}
imagePullSecrets:
- {{- toYaml .Values.image.pullSecrets | nindent 8 }}
- nodeSelector:
- {{- toYaml .Values.audit.nodeSelector | nindent 8 }}
+ {{- toYaml .Values.images.pullSecrets | nindent 8 }}
+ nodeSelector: {{ include "linux-node-selector" . | nindent 8 }}
+{{- if .Values.audit.nodeSelector }}
+{{ toYaml .Values.audit.nodeSelector | indent 8 }}
+{{- end }}
2022-06-15 04:29:13 +00:00
{{- if .Values.audit.priorityClassName }}
priorityClassName: {{ .Values.audit.priorityClassName }}
{{- end }}
2022-11-18 05:40:28 +00:00
@@ -133,8 +131,10 @@
2022-08-22 07:07:17 +00:00
{{- toYaml .Values.audit.podSecurityContext | nindent 8 }}
serviceAccountName: gatekeeper-admin
terminationGracePeriodSeconds: 60
- tolerations:
- {{- toYaml .Values.audit.tolerations | nindent 8 }}
+ tolerations: {{ include "linux-node-tolerations" . | nindent 8 }}
+{{- if .Values.audit.tolerations }}
+{{ toYaml .Values.audit.tolerations | indent 8 }}
+{{- end }}
volumes:
2022-08-22 07:07:17 +00:00
- name: cert
secret: