Skip to content

Commit

Permalink
CSI-Unity: Update usage of env X_CSI_ALLOWED_NETWORKS (#606)
Browse files Browse the repository at this point in the history
* update usage of env X_CSI_ALLOWED_NETWORKS

* update config sample yaml

* update env in node.yaml
  • Loading branch information
ChristianAtDell committed Oct 15, 2024
1 parent d3b7540 commit 0bb6ffe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions config/samples/storage_v1_csm_unity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ spec:
value: "false"
# X_CSI_ALLOWED_NETWORKS: 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
# Provide them in the following format: "net1 net2"
# Allowed values: list of one or more networks (comma separated)
# Default value: ""
# Provide them in the following format: "net1, net2"
# CIDR format should be used
# eg: "192.168.1.0/24 192.168.100.0/22"
# eg: "192.168.1.0/24, 192.168.100.0/22"
- name: X_CSI_ALLOWED_NETWORKS
value: ""
# nodeSelector: Define node selection constraints for node pods.
Expand Down
2 changes: 2 additions & 0 deletions operatorconfig/driverconfig/unity/v2.11.0/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ spec:
value: "<X_CSI_HEALTH_MONITOR_ENABLED>"
- name: X_CSI_UNITY_SKIP_CERTIFICATE_VALIDATION
value: "true"
- name: X_CSI_ALLOWED_NETWORKS
value: "<X_CSI_ALLOWED_NETWORKS>"
volumeMounts:
- name: driver-path
mountPath: /var/lib/kubelet/plugins/unity.emc.dell.com
Expand Down
8 changes: 4 additions & 4 deletions samples/storage_csm_unity_v2110.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,11 @@ spec:
value: "false"
# X_CSI_ALLOWED_NETWORKS: 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
# Provide them in the following format: "net1 net2"
# Allowed values: list of one or more networks (comma separated)
# Default value: ""
# Provide them in the following format: "net1, net2"
# CIDR format should be used
# eg: "192.168.1.0/24 192.168.100.0/22"
# eg: "192.168.1.0/24, 192.168.100.0/22"
- name: X_CSI_ALLOWED_NETWORKS
value: ""
# nodeSelector: Define node selection constraints for node pods.
Expand Down

0 comments on commit 0bb6ffe

Please sign in to comment.