Skip to content

Commit 789c768

Browse files
committed
clusterclass: update testing to use NLB for controlPlaneLoadBalancer
1 parent fa9e3ad commit 789c768

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

templates/cluster-template-multitenancy-clusterclass.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,10 @@ metadata:
150150
name: multi-tenancy
151151
spec:
152152
template:
153-
spec: {}
153+
spec:
154+
controlPlaneLoadBalancer:
155+
loadBalancerType: nlb
156+
healthCheckProtocol: HTTPS
154157
---
155158
kind: KubeadmControlPlaneTemplate
156159
apiVersion: controlplane.cluster.x-k8s.io/v1beta1

test/e2e/data/infrastructure-aws/withclusterclass/clusterclassbase/clusterclass-ci-default.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,10 @@ metadata:
272272
name: ci-default
273273
spec:
274274
template:
275-
spec: {}
275+
spec:
276+
controlPlaneLoadBalancer:
277+
loadBalancerType: nlb
278+
healthCheckProtocol: HTTPS
276279
---
277280
kind: KubeadmControlPlaneTemplate
278281
apiVersion: controlplane.cluster.x-k8s.io/v1beta1

test/e2e/data/infrastructure-aws/withclusterclass/kustomize_sources/nested-multitenancy-clusterclass/clusterclass-multi-tenancy.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,10 @@ metadata:
150150
name: multi-tenancy
151151
spec:
152152
template:
153-
spec: {}
153+
spec:
154+
controlPlaneLoadBalancer:
155+
loadBalancerType: nlb
156+
healthCheckProtocol: HTTPS
154157
---
155158
kind: KubeadmControlPlaneTemplate
156159
apiVersion: controlplane.cluster.x-k8s.io/v1beta1

test/e2e/data/infrastructure-aws/withclusterclass/kustomize_sources/topology/clusterclass-ci-default.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,10 @@ metadata:
272272
name: ci-default
273273
spec:
274274
template:
275-
spec: {}
275+
spec:
276+
controlPlaneLoadBalancer:
277+
loadBalancerType: nlb
278+
healthCheckProtocol: HTTPS
276279
---
277280
kind: KubeadmControlPlaneTemplate
278281
apiVersion: controlplane.cluster.x-k8s.io/v1beta1

0 commit comments

Comments
 (0)