Skip to content

Commit

Permalink
Fixup Expected Test Data
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanmeier5 committed Feb 26, 2024
1 parent 822ba11 commit 239f69d
Show file tree
Hide file tree
Showing 121 changed files with 250 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/clustermanager/testdata/testClusterSpec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ spec:
name: docker-test-control-plane
namespace: default
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
clusterConfiguration:
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
Expand Down
3 changes: 3 additions & 0 deletions pkg/providers/cloudstack/controlplane_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ func kubeadmControlPlane(opts ...func(*controlplanev1.KubeadmControlPlane)) *con
},
KubeadmConfigSpec: bootstrapv1.KubeadmConfigSpec{
ClusterConfiguration: &bootstrapv1.ClusterConfiguration{
FeatureGates: map[string]bool{
"EtcdLearnerMode": false,
},
ImageRepository: "public.ecr.aws/eks-distro/kubernetes",
Etcd: bootstrapv1.Etcd{
External: &bootstrapv1.ExternalEtcd{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ spec:
name: test-control-plane-1
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ spec:
name: test-control-plane-1
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
name: test-control-plane-template-1234567890000
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ spec:
kind: CloudStackMachineTemplate
name: test-control-plane-template-1234567890000
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
clusterConfiguration:
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ spec:
name: test-control-plane-template-1234567890000
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ spec:
name: test-control-plane-template-1234567890000
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
name: test-control-plane-template-1234567890000
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
name: test-control-plane-template-1234567890000
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
name: test-control-plane-template-original
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
name: test-control-plane-template-1234567890000
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
name: test-control-plane-template-1234567890000
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ spec:
name: test-control-plane-template-1234567890000
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ spec:
name: test-control-plane-template-1234567890000
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
name: test-control-plane-template-1234567890000
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
name: test-control-plane-template-1234567890000
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
name: test-control-plane-template-1234567890000
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
name: test-control-plane-template-1234567890000
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
name: test-control-plane-template-1234567890000
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
3 changes: 3 additions & 0 deletions pkg/providers/docker/controlplane_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,9 @@ func kubeadmControlPlane(opts ...func(*controlplanev1.KubeadmControlPlane)) *con
},
KubeadmConfigSpec: bootstrapv1.KubeadmConfigSpec{
ClusterConfiguration: &bootstrapv1.ClusterConfiguration{
FeatureGates: map[string]bool{
"EtcdLearnerMode": false,
},
ImageRepository: "public.ecr.aws/eks-distro/kubernetes",
Etcd: bootstrapv1.Etcd{
External: &bootstrapv1.ExternalEtcd{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
namespace: eksa-system
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
namespace: eksa-system
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ spec:
namespace: eksa-system
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ spec:
namespace: eksa-system
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ spec:
namespace: eksa-system
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
namespace: eksa-system
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
namespace: eksa-system
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
namespace: eksa-system
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ spec:
namespace: eksa-system
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository:
etcd:
local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
namespace: eksa-system
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
namespace: eksa-system
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
namespace: eksa-system
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ spec:
namespace: eksa-system
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
local:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
namespace: eksa-system
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
namespace: eksa-system
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
namespace: eksa-system
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: public.ecr.aws/eks-distro/kubernetes
etcd:
external:
Expand Down
2 changes: 2 additions & 0 deletions pkg/providers/nutanix/config/cp-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ spec:
{{- end }}
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: "{{.kubernetesRepository}}"
apiServer:
certSANs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ spec:
name: "<no value>"
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: "public.ecr.aws/eks-distro/kubernetes"
apiServer:
certSANs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ spec:
name: "<no value>"
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: "public.ecr.aws/eks-distro/kubernetes"
apiServer:
certSANs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ spec:
name: "<no value>"
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: "public.ecr.aws/eks-distro/kubernetes"
apiServer:
certSANs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ spec:
name: "<no value>"
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: "public.ecr.aws/eks-distro/kubernetes"
apiServer:
certSANs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ spec:
name: "<no value>"
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: "public.ecr.aws/eks-distro/kubernetes"
apiServer:
certSANs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ spec:
name: "<no value>"
kubeadmConfigSpec:
clusterConfiguration:
featureGates:
EtcdLearnerMode: false
imageRepository: "public.ecr.aws/eks-distro/kubernetes"
apiServer:
certSANs:
Expand Down
Loading

0 comments on commit 239f69d

Please sign in to comment.