feat: helm chart override node service account name

This commit is contained in:
fungaren 2023-08-18 16:38:05 +08:00
parent a6ceea02b9
commit 37ee97f17b
2 changed files with 3 additions and 2 deletions

View File

@ -24,7 +24,7 @@ spec:
{{- end }}
hostNetwork: true # original nfs connection would be broken without hostNetwork setting
dnsPolicy: {{ .Values.controller.dnsPolicy }}
serviceAccountName: csi-nfs-node-sa
serviceAccountName: {{ .Values.serviceAccount.node }}
priorityClassName: {{ .Values.node.priorityClassName }}
securityContext:
seccompProfile:

View File

@ -28,6 +28,7 @@ image:
serviceAccount:
create: true # When true, service accounts will be created for you. Set to false if you want to use your own.
controller: csi-nfs-controller-sa # Name of Service Account to be created or used
node: csi-nfs-node-sa # Name of Service Account to be created or used
rbac:
create: true
@ -138,7 +139,7 @@ externalSnapshotter:
requests:
cpu: 10m
memory: 20Mi
# Create volume snapshot CRDs.
# Create volume snapshot CRDs.
customResourceDefinitions:
enabled: true #if set true, VolumeSnapshot, VolumeSnapshotContent and VolumeSnapshotClass CRDs will be created. Set it false, If they already exist in cluster.