Skip to content

Commit 801d8c0

Browse files
committed
vagrant: Use v1alpha3 version of BootstrapConfiguration file
Use the new version `v1alpha3` for BootstrapConfiguration file generated with vagrant
1 parent db3a4fb commit 801d8c0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Vagrantfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,13 @@ fi
128128
129129
echo "Creating bootstrap configuration"
130130
cat > /etc/metalk8s/bootstrap.yaml << EOF
131-
apiVersion: metalk8s.scality.com/v1alpha2
131+
apiVersion: metalk8s.scality.com/v1alpha3
132132
kind: BootstrapConfiguration
133133
networks:
134-
controlPlane: #{CONTROL_PLANE_IP}/#{prefixlen(CONTROL_PLANE_NETMASK)}
135-
workloadPlane: #{WORKLOAD_PLANE_IP}/#{prefixlen(WORKLOAD_PLANE_NETMASK)}
134+
controlPlane:
135+
cidr: #{CONTROL_PLANE_IP}/#{prefixlen(CONTROL_PLANE_NETMASK)}
136+
workloadPlane:
137+
cidr: #{WORKLOAD_PLANE_IP}/#{prefixlen(WORKLOAD_PLANE_NETMASK)}
136138
ca:
137139
minion: bootstrap
138140
archives:

0 commit comments

Comments
 (0)