airshipctl/manifests/site/openstack-test-site/ephemeral/controlplane/control_plane_config_patch.yaml
Ratnopam Chakrabarti 58f9f99d83 openstack-test-site for capo
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
2020-11-13 15:45:08 +00:00

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"