keckles
2 Bronze

multiple networks in allowedNetworks parameter in values.yaml

Jump to solution

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?

0 Kudos
1 Solution

Accepted Solutions
keckles
2 Bronze

Re: multiple networks in allowedNetworks parameter in values.yaml

Jump to solution

I have found the answer to be:

allowedNetworks: ["192.168.0.0/24,192.168.100.0/24"]

View solution in original post

4 Replies
Nit_csi
2 Bronze

Re: multiple networks in allowedNetworks parameter in values.yaml

Jump to solution

suppose my storage interface is - 10.10.10.10/24

allowedNetworks: [10.10.10.0/24]

0 Kudos
keckles
2 Bronze

Re: multiple networks in allowedNetworks parameter in values.yaml

Jump to solution

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?

 

0 Kudos
keckles
2 Bronze

Re: multiple networks in allowedNetworks parameter in values.yaml

Jump to solution

I have found the answer to be:

allowedNetworks: ["192.168.0.0/24,192.168.100.0/24"]

View solution in original post

Nit_csi
2 Bronze

Re: multiple networks in allowedNetworks parameter in values.yaml

Jump to solution

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.

0 Kudos