Skip to content

Commit

Permalink
[charts/csi-unity] fix: add allowedNetworks parameter (#406)
Browse files Browse the repository at this point in the history
* fix: add allowedNetworks parameter

* change release version
  • Loading branch information
mdutka-dell authored and shaynafinocchiaro committed Jul 26, 2024
1 parent 70001b6 commit 6849500
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/csi-unity/templates/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ spec:
value: "true"
- name: X_CSI_UNITY_ALLOW_MULTI_POD_ACCESS
value: {{ .Values.allowRWOMultiPodAccess | default "false" | lower | quote }}
- name: X_CSI_ALLOWED_NETWORKS
value: "{{ .Values.allowedNetworks }}"
- name: X_CSI_PRIVATE_MOUNT_DIR
value: "{{ .Values.kubeletConfigDir }}/plugins/unity.emc.dell.com/disks"
- name: X_CSI_EPHEMERAL_STAGING_PATH
Expand Down
7 changes: 7 additions & 0 deletions charts/csi-unity/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ logLevel: "info"
# Default value: None
certSecretCount: 1

# allowedNetworks: Custom networks for Unity export
# Specify list of networks which can be used for NFS I/O traffic; CIDR format should be used.
# Allowed values: list of one or more networks
# Default value: None
# Examples: [192.168.1.0/24, 192.168.100.0/22]
allowedNetworks: []

# imagePullPolicy: Policy to determine if the image should be pulled prior to starting the container.
# Allowed values:
# Always: Always pull the image.
Expand Down

0 comments on commit 6849500

Please sign in to comment.