Merge pull request #499 from fungaren/csi-node-sa

feat: helm chart override node service account name
This commit is contained in:
Kubernetes Prow Robot 2023-09-05 01:15:50 -07:00 committed by GitHub
commit d96d46ccfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 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.