2021-05-17 22:30:18 +00:00
|
|
|
--- charts-original/templates/gatekeeper-controller-manager-deployment.yaml
|
|
|
|
+++ charts/templates/gatekeeper-controller-manager-deployment.yaml
|
2021-09-30 13:12:04 +00:00
|
|
|
@@ -71,8 +71,8 @@
|
2021-05-17 22:30:18 +00:00
|
|
|
valueFrom:
|
|
|
|
fieldRef:
|
|
|
|
fieldPath: metadata.name
|
|
|
|
- image: '{{ .Values.image.repository }}:{{ .Values.image.release }}'
|
2021-09-30 13:12:04 +00:00
|
|
|
- imagePullPolicy: '{{ .Values.image.pullPolicy }}'
|
|
|
|
+ image: '{{ template "system_default_registry" . }}{{ .Values.images.gatekeeper.repository }}:{{ .Values.images.gatekeeper.tag }}'
|
|
|
|
+ imagePullPolicy: '{{ .Values.images.pullPolicy }}'
|
2021-05-17 22:30:18 +00:00
|
|
|
livenessProbe:
|
|
|
|
httpGet:
|
2021-09-30 13:12:04 +00:00
|
|
|
path: /healthz
|
2022-03-17 23:33:13 +00:00
|
|
|
@@ -109,16 +109,20 @@
|
2021-09-30 13:12:04 +00:00
|
|
|
readOnly: true
|
|
|
|
hostNetwork: {{ .Values.controllerManager.hostNetwork }}
|
|
|
|
imagePullSecrets:
|
|
|
|
- {{- toYaml .Values.image.pullSecrets | nindent 8 }}
|
2022-03-17 23:33:13 +00:00
|
|
|
- nodeSelector:
|
|
|
|
- {{- toYaml .Values.controllerManager.nodeSelector | nindent 8 }}
|
2021-09-30 13:12:04 +00:00
|
|
|
+ {{- toYaml .Values.images.pullSecrets | nindent 8 }}
|
2022-03-17 23:33:13 +00:00
|
|
|
+ nodeSelector: {{ include "linux-node-selector" . | nindent 8 }}
|
|
|
|
+{{- if .Values.controllerManager.nodeSelector }}
|
|
|
|
+{{ toYaml .Values.controllerManager.nodeSelector | indent 8 }}
|
|
|
|
+{{- end }}
|
2021-09-30 13:12:04 +00:00
|
|
|
{{- if .Values.controllerManager.priorityClassName }}
|
2022-03-17 23:33:13 +00:00
|
|
|
priorityClassName: {{ .Values.controllerManager.priorityClassName }}
|
|
|
|
{{- end }}
|
|
|
|
serviceAccountName: gatekeeper-admin
|
|
|
|
terminationGracePeriodSeconds: 60
|
|
|
|
- tolerations:
|
|
|
|
- {{- toYaml .Values.controllerManager.tolerations | nindent 8 }}
|
|
|
|
+ tolerations: {{ include "linux-node-tolerations" . | nindent 8 }}
|
|
|
|
+{{- if .Values.controllerManager.tolerations }}
|
|
|
|
+{{ toYaml .Values.controllerManager.tolerations | indent 8 }}
|
|
|
|
+{{- end }}
|
|
|
|
volumes:
|
|
|
|
- name: cert
|
|
|
|
secret:
|