1515 metadata :
1616 annotations :
1717 internal.stackable.tech/image : " {{ $.Values.image.repository }}:{{ $.Values.image.tag | default $.Chart.AppVersion }}"
18- {{- with $.Values .podAnnotations }}
18+ {{- with .podAnnotations }}
1919 {{- toYaml . | nindent 8 }}
2020 {{- end }}
2121 labels :
@@ -28,15 +28,15 @@ spec:
2828 {{- end }}
2929 serviceAccountName : {{ include "operator.fullname" $ }}-serviceaccount
3030 securityContext :
31- {{- toYaml $.Values .podSecurityContext | nindent 8 }}
31+ {{- toYaml .podSecurityContext | nindent 8 }}
3232 containers :
3333 - name : csi-controller-service
3434 securityContext :
35- {{- toYaml $.Values .securityContext | nindent 12 }}
35+ {{- toYaml .controllerService .securityContext | nindent 12 }}
3636 image : " {{ $.Values.image.repository }}:{{ $.Values.image.tag | default $.Chart.AppVersion }}"
3737 imagePullPolicy : {{ $.Values.image.pullPolicy }}
3838 resources :
39- {{- $.Values.controller .resources | toYaml | nindent 12 }}
39+ {{- .controllerService .resources | toYaml | nindent 12 }}
4040 args :
4141 - run
4242 - controller
@@ -85,10 +85,10 @@ spec:
8585 - name : csi
8686 mountPath : /csi
8787 - name : external-provisioner
88- image : " {{ .image.repository }}:{{ .image.tag }}"
89- imagePullPolicy : {{ .image.pullPolicy }}
88+ image : " {{ .externalProvisioner. image.repository }}:{{ .externalProvisioner .image.tag }}"
89+ imagePullPolicy : {{ .externalProvisioner. image.pullPolicy }}
9090 resources :
91- {{ .resources | toYaml | nindent 12 }}
91+ {{ .externalProvisioner. resources | toYaml | nindent 12 }}
9292 args :
9393 - --csi-address=/csi/csi.sock
9494 - --feature-gates=Topology=true
@@ -99,15 +99,15 @@ spec:
9999 volumes :
100100 - name : csi
101101 emptyDir : {}
102- {{- with $.Values .nodeSelector }}
102+ {{- with .nodeSelector }}
103103 nodeSelector :
104104 {{- toYaml . | nindent 8 }}
105105 {{- end }}
106- {{- with $.Values .affinity }}
106+ {{- with .affinity }}
107107 affinity :
108108 {{- toYaml . | nindent 8 }}
109109 {{- end }}
110- {{- with $.Values .tolerations }}
110+ {{- with .tolerations }}
111111 tolerations :
112112 {{- toYaml . | nindent 8 }}
113113 {{- end }}
0 commit comments