File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
charts/nfs-server-provisioner Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -73,11 +73,10 @@ spec:
7373 - name : statd-udp
7474 containerPort : 662
7575 protocol : UDP
76+ {{- with .Values.securityContext }}
7677 securityContext :
77- capabilities :
78- add :
79- - DAC_READ_SEARCH
80- - SYS_RESOURCE
78+ {{- toYaml . | nindent 12 }}
79+ {{- end }}
8180 args :
8281 - " -provisioner={{ include " nfs-provisioner.provisionerName" . }}"
8382 {{- range $key, $value := .Values.extraArgs }}
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ service:
3939
4040persistence :
4141 enabled : false
42-
42+
4343 # # Existing Persistent Volume Claim
4444 # # This should be used with persistence.enabled=true
4545 # # If defined, an existing volume claim will be used, instead
9696 # #
9797 serviceAccountName : default
9898
99+ securityContext :
100+ capabilities :
101+ add :
102+ - DAC_READ_SEARCH
103+ - SYS_RESOURCE
104+
99105# # For creating the PriorityClass automatically:
100106priorityClass :
101107 # # Enable creation of a PriorityClass resource for this nfs-server-provisioner instance
You can’t perform that action at this time.
0 commit comments