Skip to content

Instantly share code, notes, and snippets.

@jacops
Last active February 19, 2021 20:01
Show Gist options
  • Save jacops/014b7a949913bc2023462d8748dedcf8 to your computer and use it in GitHub Desktop.
Save jacops/014b7a949913bc2023462d8748dedcf8 to your computer and use it in GitHub Desktop.
nameReference:
- kind: Cluster
group: cluster.x-k8s.io
version: v1alpha3
fieldSpecs:
- path: spec/clusterName
kind: MachineDeployment
group: cluster.x-k8s.io
- path: spec/template/spec/clusterName
kind: MachineDeployment
group: cluster.x-k8s.io
- path: spec/selector/matchLabels/cluster.x-k8s.io\/cluster-name
kind: MachineDeployment
group: cluster.x-k8s.io
- kind: KubeadmControlPlane
group: controlplane.cluster.x-k8s.io
version: v1alpha3
fieldSpecs:
- path: spec/controlPlaneRef/name
kind: Cluster
group: cluster.x-k8s.io
- kind: KubeadmConfigTemplate
group: bootstrap.cluster.x-k8s.io
version: v1alpha3
fieldSpecs:
- path: spec/template/spec/bootstrap/configRef/name
kind: MachineDeployment
group: cluster.x-k8s.io
- kind: DockerCluster
group: infrastructure.cluster.x-k8s.io
version: v1alpha3
fieldSpecs:
- path: spec/infrastructureRef/name
kind: Cluster
group: cluster.x-k8s.io
- kind: DockerMachineTemplate
group: infrastructure.cluster.x-k8s.io
version: v1alpha3
fieldSpecs:
- path: spec/template/spec/infrastructureRef/name
kind: MachineDeployment
group: cluster.x-k8s.io
- path: spec/infrastructureTemplate/name
kind: KubeadmControlPlane
group: controlplane.cluster.x-k8s.io
namespace:
- path: metadata/namespace
create: true
- path: spec/controlPlaneRef/namespace
kind: Cluster
group: cluster.x-k8s.io
create: true
- path: spec/infrastructureRef/namespace
kind: Cluster
group: cluster.x-k8s.io
create: true
- path: spec/infrastructureTemplate/namespace
kind: KubeadmControlPlane
group: controlplane.cluster.x-k8s.io
create: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment