Skip to content

Commit 8b92138

Browse files
committed
the status fields for the machine and cluster changed
1 parent 0b48f3f commit 8b92138

File tree

21 files changed

+47
-42
lines changed

21 files changed

+47
-42
lines changed

e2e/capl-cluster-flavors/k3s-capl-cluster/assert-child-cluster-resources.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ metadata:
1919
spec:
2020
clusterName: ($cluster)
2121
status:
22-
bootstrapReady: true
23-
infrastructureReady: true
22+
initialization:
23+
bootstrapDataSecretCreated: true
24+
infrastructureProvisioned: true
2425
---
2526
apiVersion: cluster.x-k8s.io/v1beta2
2627
kind: MachineDeployment
@@ -32,7 +33,6 @@ spec:
3233
replicas: 1
3334
status:
3435
readyReplicas: 1
35-
unavailableReplicas: 0
3636
availableReplicas: 1
3737
---
3838
apiVersion: controlplane.cluster.x-k8s.io/v1beta2

e2e/capl-cluster-flavors/kubeadm-capl-cluster/assert-child-cluster-resources.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ metadata:
1919
spec:
2020
clusterName: ($cluster)
2121
status:
22-
bootstrapReady: true
23-
infrastructureReady: true
22+
initialization:
23+
bootstrapDataSecretCreated: true
24+
infrastructureProvisioned: true
2425
---
2526
apiVersion: cluster.x-k8s.io/v1beta2
2627
kind: MachineDeployment
@@ -32,7 +33,6 @@ spec:
3233
replicas: 1
3334
status:
3435
readyReplicas: 1
35-
unavailableReplicas: 0
3636
availableReplicas: 1
3737
---
3838
apiVersion: controlplane.cluster.x-k8s.io/v1beta2
@@ -42,8 +42,7 @@ metadata:
4242
cluster.x-k8s.io/cluster-name: ($cluster)
4343
status:
4444
readyReplicas: 1
45-
unavailableReplicas: 0
46-
ready: true
45+
availableReplicas: 1
4746
---
4847
apiVersion: addons.cluster.x-k8s.io/v1alpha1
4948
kind: HelmReleaseProxy

e2e/capl-cluster-flavors/kubeadm-flatcar-vpcless-capl-cluster/assert-child-cluster-resources.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ metadata:
1919
spec:
2020
clusterName: ($cluster)
2121
status:
22-
bootstrapReady: true
23-
infrastructureReady: true
22+
initialization:
23+
bootstrapDataSecretCreated: true
24+
infrastructureProvisioned: true
2425
---
2526
apiVersion: cluster.x-k8s.io/v1beta2
2627
kind: MachineDeployment
@@ -32,7 +33,6 @@ spec:
3233
replicas: 1
3334
status:
3435
readyReplicas: 1
35-
unavailableReplicas: 0
3636
availableReplicas: 1
3737
---
3838
apiVersion: controlplane.cluster.x-k8s.io/v1beta2
@@ -42,8 +42,7 @@ metadata:
4242
cluster.x-k8s.io/cluster-name: ($cluster)
4343
status:
4444
readyReplicas: 1
45-
unavailableReplicas: 0
46-
ready: true
45+
availableReplicas: 1
4746
---
4847
apiVersion: addons.cluster.x-k8s.io/v1alpha1
4948
kind: HelmReleaseProxy

e2e/capl-cluster-flavors/kubeadm-full-capl-cluster/assert-child-cluster-resources.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ metadata:
1919
spec:
2020
clusterName: ($cluster)
2121
status:
22-
bootstrapReady: true
23-
infrastructureReady: true
22+
initialization:
23+
bootstrapDataSecretCreated: true
24+
infrastructureProvisioned: true
2425
---
2526
apiVersion: cluster.x-k8s.io/v1beta2
2627
kind: MachineDeployment
@@ -32,7 +33,6 @@ spec:
3233
replicas: 1
3334
status:
3435
readyReplicas: 1
35-
unavailableReplicas: 0
3636
availableReplicas: 1
3737
---
3838
apiVersion: controlplane.cluster.x-k8s.io/v1beta2
@@ -42,8 +42,9 @@ metadata:
4242
cluster.x-k8s.io/cluster-name: ($cluster)
4343
status:
4444
readyReplicas: 1
45-
unavailableReplicas: 0
46-
ready: true
45+
availableReplicas: 1
46+
initialization:
47+
controlPlaneInitialized: true
4748
---
4849
apiVersion: addons.cluster.x-k8s.io/v1alpha1
4950
kind: HelmReleaseProxy
@@ -72,5 +73,6 @@ kind: Cluster
7273
metadata:
7374
name: ($cluster)
7475
status:
75-
infrastructureReady: true
76-
phase: Provisioned
76+
initialization:
77+
controlPlaneInitialized: true
78+
infrastructureProvisioned: true

e2e/capl-cluster-flavors/rke2-capl-cluster/assert-child-cluster-resources.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ metadata:
1919
spec:
2020
clusterName: ($cluster)
2121
status:
22-
bootstrapReady: true
23-
infrastructureReady: true
22+
initialization:
23+
bootstrapDataSecretCreated: true
24+
infrastructureProvisioned: true
2425
---
2526
apiVersion: cluster.x-k8s.io/v1beta2
2627
kind: MachineDeployment
@@ -32,7 +33,6 @@ spec:
3233
replicas: 1
3334
status:
3435
readyReplicas: 1
35-
unavailableReplicas: 0
3636
availableReplicas: 1
3737
---
3838
apiVersion: controlplane.cluster.x-k8s.io/v1beta2

e2e/linodemachine-controller/cluster-object-store/assert-linodemachine.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ metadata:
1919
spec:
2020
clusterName: ($cluster)
2121
status:
22-
bootstrapReady: true
23-
infrastructureReady: true
22+
initialization:
23+
infrastructureProvisioned: true

e2e/linodemachine-controller/cluster-object-store/create-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spec:
99
kind: KubeadmControlPlane
1010
name: ($cluster)
1111
infrastructureRef:
12-
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2
12+
apiGroup: infrastructure.cluster.x-k8s.io
1313
kind: LinodeCluster
1414
name: ($cluster)
1515
---

e2e/linodemachine-controller/cluster-object-store/create-linodemachine.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
machineTemplate:
2020
spec:
2121
infrastructureRef:
22-
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2
22+
apiGroup: infrastructure.cluster.x-k8s.io
2323
kind: LinodeMachineTemplate
2424
name: ($cluster)
2525
replicas: 1

e2e/linodemachine-controller/linodecluster-vpcref-integration/assert-linodemachine.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ metadata:
1919
spec:
2020
clusterName: ($cluster)
2121
status:
22-
bootstrapReady: true
23-
infrastructureReady: true
22+
initialization:
23+
infrastructureProvisioned: true

e2e/linodemachine-controller/linodecluster-vpcref-integration/create-cluster-vpc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spec:
99
kind: KubeadmControlPlane
1010
name: ($cluster)
1111
infrastructureRef:
12-
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2
12+
apiGroup: infrastructure.cluster.x-k8s.io
1313
kind: LinodeCluster
1414
name: ($cluster)
1515
---

0 commit comments

Comments
 (0)