File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {{- if .Values.controllerManager.enable }}
12apiVersion : apps/v1
23kind : Deployment
34metadata :
4041 env :
4142 {{- range $key, $value := .Values.controllerManager.manager.env }}
4243 - name : {{ $key }}
43- value : {{ $value }}
44+ value : {{ $value | quote }}
4445 {{- end }}
4546 {{- end }}
4647 livenessProbe :
7071 mountPath : /tmp/k8s-metrics-server/metrics-certs
7172 readOnly : true
7273 {{- end }}
74+ {{- range $volume := .Values.controllerManager.manager.volumes }}
75+ - name : {{ $volume.name }}
76+ mountPath : {{ $volume.mountPath }}
77+ {{- if $volume.readOnly }}
78+ readOnly : true
79+ {{- end }}
80+ {{- end }}
7381 securityContext :
7482 {{- toYaml .Values.controllerManager.podSecurityContext | nindent 8 }}
7583 serviceAccountName : {{ .Values.controllerManager.serviceAccountName }}
8997 secret :
9098 secretName : metrics-server-cert
9199 {{- end }}
100+ {{- range $volume := .Values.controllerManager.manager.volumes }}
101+ - name : {{ $volume.name }}
102+ {{- toYaml $volume.source | nindent 8 }}
103+ {{- end }}
104+ {{- end }}
Original file line number Diff line number Diff line change 11# [MANAGER]: Manager Deployment Configurations
22controllerManager :
3+ enable : true
34 replicas : 1
45 strategy :
56 type : Recreate
You can’t perform that action at this time.
0 commit comments