Skip to content

Commit d96d46c

Browse files
authored
Merge pull request #499 from fungaren/csi-node-sa
feat: helm chart override node service account name
2 parents 76962de + 33e0be2 commit d96d46c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
4 Bytes
Binary file not shown.

charts/latest/csi-driver-nfs/templates/csi-nfs-node.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
{{- end }}
2525
hostNetwork: true # original nfs connection would be broken without hostNetwork setting
2626
dnsPolicy: {{ .Values.controller.dnsPolicy }}
27-
serviceAccountName: csi-nfs-node-sa
27+
serviceAccountName: {{ .Values.serviceAccount.node }}
2828
priorityClassName: {{ .Values.node.priorityClassName }}
2929
securityContext:
3030
seccompProfile:

charts/latest/csi-driver-nfs/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ image:
2828
serviceAccount:
2929
create: true # When true, service accounts will be created for you. Set to false if you want to use your own.
3030
controller: csi-nfs-controller-sa # Name of Service Account to be created or used
31+
node: csi-nfs-node-sa # Name of Service Account to be created or used
3132

3233
rbac:
3334
create: true
@@ -138,7 +139,7 @@ externalSnapshotter:
138139
requests:
139140
cpu: 10m
140141
memory: 20Mi
141-
# Create volume snapshot CRDs.
142+
# Create volume snapshot CRDs.
142143
customResourceDefinitions:
143144
enabled: true #if set true, VolumeSnapshot, VolumeSnapshotContent and VolumeSnapshotClass CRDs will be created. Set it false, If they already exist in cluster.
144145

0 commit comments

Comments
 (0)