Skip to content

Commit

Permalink
[charts/csi-powerflex] Added external access (#333)
Browse files Browse the repository at this point in the history
* external access powerflex

* adding external access in csm chart
  • Loading branch information
suryagupta4 authored and tdawe committed Dec 13, 2023
1 parent 6552a41 commit 58ab0f9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions charts/container-storage-modules/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ csi-vxflexos:
storageCapacity:
enabled: true
enableQuota: false
externalAccess:
monitor:
enabled: false
vgsnapshotter:
Expand Down
4 changes: 3 additions & 1 deletion charts/csi-vxflexos/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,8 @@ spec:
value: "{{ .Values.enableQuota }}"
{{- end }}
{{- end }}
- name: X_CSI_POWERFLEX_EXTERNAL_ACCESS
value: {{ .Values.externalAccess }}
volumeMounts:
- name: socket-dir
mountPath: /var/run/csi
Expand Down Expand Up @@ -470,4 +472,4 @@ spec:
- key: cert-{{ $e }}
path: cert-{{ $e }}
{{- end }}
{{- end }}
{{- end }}
7 changes: 6 additions & 1 deletion charts/csi-vxflexos/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ defaultFsType: ext4
# Default value: None
imagePullPolicy: IfNotPresent

# externalAccess: allows to specify additional entries for hostAccess of NFS volumes. Both single IP address and subnet are valid entries.
# Allowed Values: x.x.x.x/xx or x.x.x.x
# Default Value: None
externalAccess:

# enableQuota: a boolean that, when enabled, will set quota limit for a newly provisioned NFS volume.
# Allowed values:
# true: set quota for volume
Expand Down Expand Up @@ -353,4 +358,4 @@ authorization:
# "true" - TLS certificate verification will be skipped
# "false" - TLS certificate will be verified
# Default value: "true"
skipCertificateValidation: true
skipCertificateValidation: true

0 comments on commit 58ab0f9

Please sign in to comment.