11 Posts
0
1842
multiple networks in allowedNetworks parameter in values.yaml
I need to put multiple networks inside the allowedNetworks parameter in this file: https://github.com/dell/csi-powerscale/blob/master/helm/csi-isilon/values.yaml
This did not work: allowedNetworks: ["1.1.1.1/23", "1.1.1.2/23"]
What should the syntax be for multiple networks?
keckles
11 Posts
1
April 5th, 2021 12:00
I have found the answer to be:
allowedNetworks: ["192.168.0.0/24,192.168.100.0/24"]
Nit_csi
13 Posts
0
March 31st, 2021 12:00
suppose my storage interface is - 10.10.10.10/24
allowedNetworks: [10.10.10.0/24]
keckles
11 Posts
0
April 5th, 2021 08:00
I understand how to do it for a single network, how would it look for multiple networks?
Suppose I needed to mount storage from both 192.168.0.0/24 AND 192.168.100.0/24.
How would the allowedNetworks parameter be formatted?
Nit_csi
13 Posts
0
April 5th, 2021 23:00
Great ! syntax would be -
allowedNetworks: "[1.1.0.0/24,192.168.100.0/24]"
Though you put dummy range as above driver is smart enough to pick working one and spin up the pods successfully.