Skip to content

Commit

Permalink
fix: change "fixed_subnet_cidr" default value
Browse files Browse the repository at this point in the history
Update the default value for `fixed_subnet_cidr` to match the one
used by Magnum and add documentation.
  • Loading branch information
mnaser committed Feb 1, 2023
1 parent 64d14c2 commit 387fd99
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion docs/labels.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,16 @@

Default value: `v1.25.3`

## OpenStack

* `fixed_subnet_cidr`

The CIDR of the fixed subnet to use for the cluster.

Default value: `10.0.0.0/24`

## TODO

availability_zone
fixed_subnet_cidr
dns_cluster_domain
calico_ipv4pool
2 changes: 1 addition & 1 deletion magnum_cluster_api/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -1361,7 +1361,7 @@ def get_object(self) -> objects.Cluster:
"value": utils.get_cluster_label(
self.cluster,
"fixed_subnet_cidr",
"10.6.0.0/24",
"10.0.0.0/24",
),
},
{
Expand Down

0 comments on commit 387fd99

Please sign in to comment.