Commit f299b4d 1 parent 279e27b commit f299b4d Copy full SHA for f299b4d
File tree 3 files changed +20
-0
lines changed
3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,16 @@ spec:
25
25
metadata :
26
26
labels :
27
27
{{- include "cinder-csi.controllerplugin.labels" . | nindent 8 }}
28
+ {{- with .Values.csi.plugin.controllerPlugin.podLabels }}
29
+ {{- toYaml . | nindent 8 }}
30
+ {{- end }}
28
31
annotations :
29
32
{{- with .Values.commonAnnotations }}
30
33
{{- toYaml . | nindent 8 }}
31
34
{{- end }}
35
+ {{- with .Values.csi.plugin.controllerPlugin.podAnnotations }}
36
+ {{- toYaml . | nindent 8 }}
37
+ {{- end }}
32
38
spec :
33
39
serviceAccount : csi-cinder-controller-sa
34
40
securityContext :
Original file line number Diff line number Diff line change @@ -17,10 +17,16 @@ spec:
17
17
metadata :
18
18
labels :
19
19
{{- include "cinder-csi.nodeplugin.labels" . | nindent 8 }}
20
+ {{- with .Values.csi.plugin.nodePlugin.podLabels }}
21
+ {{- toYaml . | nindent 8 }}
22
+ {{- end }}
20
23
annotations :
21
24
{{- with .Values.commonAnnotations }}
22
25
{{- toYaml . | nindent 8 }}
23
26
{{- end }}
27
+ {{- with .Values.csi.plugin.nodePlugin.podAnnotations }}
28
+ {{- toYaml . | nindent 8 }}
29
+ {{- end }}
24
30
spec :
25
31
serviceAccount : csi-cinder-node-sa
26
32
hostNetwork : true
Original file line number Diff line number Diff line change 76
76
readOnly : true
77
77
nodePlugin :
78
78
dnsPolicy : ClusterFirstWithHostNet
79
+ # Optional additional annotations to add to the nodePlugin Pods.
80
+ podAnnotations : {}
81
+ # Optional additional labels to add to the nodePlugin Pods.
82
+ podLabels : {}
79
83
podSecurityContext : {}
80
84
securityContext : {}
81
85
# capabilities:
@@ -106,6 +110,10 @@ csi:
106
110
# maxSurge is the maximum number of pods that can be
107
111
# created over the desired number of pods.
108
112
maxSurge : 1
113
+ # Optional additional annotations to add to the controllerPlugin Pods.
114
+ podAnnotations : {}
115
+ # Optional additional labels to add to the controllerPlugin Pods.
116
+ podLabels : {}
109
117
podSecurityContext : {}
110
118
# runAsNonRoot: true
111
119
# runAsUser: 65532
You can’t perform that action at this time.
0 commit comments