redhat-partner-solutions / crucible

Apache License 2.0
35 stars 59 forks source link

Changing service network and pod #170

Closed douglasrasilva closed 2 years ago

douglasrasilva commented 2 years ago

After installing a cluster, I noticed that the pod's network was not changed as configured in the inventory, setting the default network to 10.128.0.0/14.

After adding the two lines below, the following installation correctly configured the pod's network.

We add the lines below: "cluster_networks": [{"cidr": cluster_network_cidr, "host_prefix": (cluster_network_host_prefix | int)}], "service_networks": [{"cidr": service_network_cidr}],

Changed file: "roles/create_cluster/tasks/main.yml"