58f9f99d83
adjust openstack-test-site to execute the below phases for openstack provider(capo) clusterctl-init-ephemeral controlplane-ephemeral clusterctl-init-target clusterctl-move workers-target A detailed test run of the phases can be found in https://hackmd.io/OheCGmq8RX64SPw2sF3qGQ Change-Id: Id982273d28515eb3a44c39d869eaeb229923339c
23 lines
759 B
YAML
23 lines
759 B
YAML
apiVersion: controlplane.cluster.x-k8s.io/v1alpha3
|
|
kind: KubeadmControlPlane
|
|
metadata:
|
|
name: target-cluster-control-plane
|
|
namespace: default
|
|
spec:
|
|
infrastructureTemplate:
|
|
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
|
|
kind: OpenStackMachineTemplate
|
|
name: target-cluster-control-plane
|
|
kubeadmConfigSpec:
|
|
files:
|
|
- path: /etc/kubernetes/cloud.conf
|
|
content: W0dsb2JhbF0KYXV0aC11cmw9aHR0cDovLzEwLjAuMC40L2lkZW50aXR5CnVzZXJuYW1lPSJkZW1vIgpwYXNzd29yZD0icGFzcyIKdGVuYW50LW5hbWU9ImRlbW8iCmRvbWFpbi1pZD0iZGVmYXVsdCIKcmVnaW9uPSJSZWdpb25PbmUiCg==
|
|
encoding: base64
|
|
owner: root
|
|
permissions: "0600"
|
|
- path: /etc/certs/cacert
|
|
content: Cg==
|
|
encoding: base64
|
|
owner: root
|
|
permissions: "0600"
|