Skip to content

Commit

Permalink
[Backport] fix #234 - add renaming config for EKSConfigTemplate (#243)
Browse files Browse the repository at this point in the history
* fix #234 - add renaming config for EKSConfigTemplate

* fix #234 - add renaming config for AWSManagedControlPlane

Co-authored-by: Bich Le <[email protected]>
  • Loading branch information
cruizen and Bich Le authored Sep 22, 2022
1 parent 9d5d572 commit 299063a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pkg/basecluster/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ nameReference:
fieldSpecs:
- path: spec/controlPlaneRef/name
kind: Cluster
- kind: AWSManagedControlPlane
group: controlplane.cluster.x-k8s.io
version: v1beta1
fieldSpecs:
- path: spec/controlPlaneRef/name
kind: Cluster
- path: spec/infrastructureRef/name
kind: Cluster
- kind: AWSMachine
group: infrastructure.cluster.x-k8s.io
version: v1beta1
Expand All @@ -57,6 +65,12 @@ nameReference:
fieldSpecs:
- path: spec/template/spec/bootstrap/configRef/name
kind: MachineDeployment
- kind: EKSConfigTemplate
group: bootstrap.cluster.x-k8s.io
version: v1beta1
fieldSpecs:
- path: spec/template/spec/bootstrap/configRef/name
kind: MachineDeployment
- kind: DockerCluster
group: infrastructure.cluster.x-k8s.io
version: v1beta1
Expand Down

0 comments on commit 299063a

Please sign in to comment.