Skip to content

Commit a26e9a5

Browse files
furkatgofurov7salasberryfinyiannistrianmazzotti
authored
Backport multiple changes to release/v0.26 (#2212)
* test: remove capi bump test This is not relevant anymore and it adds extra complexity on top of an already complicated test environment. It also increases execution time by fetching a new CAPI manifest and building a different Turtles image. Signed-off-by: Carlos Salas <carlos.salas@suse.com> * test: remove provider migration With Rancher v2.14, it is no longer supported to upgrade from a version where Turtles was a extension (v2.12) and this means there's no need to use the provider migration tool. The oldest version of Rancher used in E2E is v2.13 in the chart upgrade test which already includes Turtles as a system chart. Signed-off-by: Carlos Salas <carlos.salas@suse.com> * test: Moving providers secrets creation to after installation of the providers chart * test: Conditionally install providers * ci: cleanup Rancher validation code Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com> * Use ClusterClass in e2e for GKE provisioning (#2177) * Use ClusterClass in e2e for GKE provisioning Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com> * fix(e2e): skip VerifyClusterAvailable for GKE test Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com> * Add clarifying comment for WorkerMachineCount and SkipClusterAvailableWait Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com> --------- Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com> * ci: do not reuse helm values when upgrading/installing Rancher Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com> * fix: bump capg to v1.11.1 This is the latest patch release that fixes a conflict in managed template resources using the same short name as CAPZ's Signed-off-by: Carlos Salas <carlos.salas@suse.com> --------- Signed-off-by: Carlos Salas <carlos.salas@suse.com> Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com> Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com> Co-authored-by: Carlos Salas <carlos.salas@suse.com> Co-authored-by: yiannistri <8741709+yiannistri@users.noreply.github.com> Co-authored-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
1 parent 7c4aa0e commit a26e9a5

File tree

25 files changed

+652
-817
lines changed

25 files changed

+652
-817
lines changed

.github/workflows/e2e-short.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ env:
1313
GINKGO_LABEL_FILTER: "short"
1414
TAG: v0.0.1
1515
SOURCE_REPO: https://github.com/${{ github.event.pull_request.head.repo.full_name }}
16-
TURTLES_PROVIDERS: "docker,kubeadm"
1716

1817
jobs:
1918
e2e:

.github/workflows/run-vsphere-tests.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ env:
2525
DOCKER_REGISTRY_USERNAME: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
2626
DOCKER_REGISTRY_CONFIG: ${{ secrets.DOCKER_REGISTRY_CONFIG }}
2727
GINKGO_NODES: 2
28-
TURTLES_PROVIDERS: "vsphere,kubeadm"
2928

3029
jobs:
3130
run_vsphere_e2e:

Makefile

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,8 @@ GO_CONTAINER_IMAGE ?= docker.io/library/golang:$(GO_VERSION)
3737
REPO ?= rancher/turtles
3838

3939
CAPI_VERSION ?= $(shell grep "sigs.k8s.io/cluster-api" go.mod | head -1 |awk '{print $$NF}')
40-
# NOTE: Pinned to latest; bump when newer CAPI version available.
41-
CAPI_VERSION_TEST_BUMP ?= v1.12.2
42-
CAPI_VERSION_TEST_BUMP_SUFFIX ?= capi
4340
CAPI_UPSTREAM_REPO ?= https://github.com/kubernetes-sigs/cluster-api
4441
CAPI_UPSTREAM_RELEASES ?= $(CAPI_UPSTREAM_REPO)/releases
45-
CORE_CAPI_FETCH_SCRIPT = .github/scripts/fetch-core-capi.sh
4642

4743
# Use GOPROXY environment variable if set
4844
GOPROXY := $(shell go env GOPROXY)
@@ -98,9 +94,6 @@ GINKGO_NOCOLOR ?= false
9894
GINKGO_LABEL_FILTER ?= short
9995
TURTLES_PROVIDERS ?= ALL
10096
GINKGO_TESTS ?= $(ROOT_DIR)/$(TEST_DIR)/e2e/suites/...
101-
TURTLES_MIGRATION_SCRIPT_PATH ?= $(ROOT_DIR)/scripts/migrate-providers-ownership.sh
102-
CLUSTERCTL_CONFIG_PATH ?= $(ROOT_DIR)/internal/controllers/clusterctl
103-
CLUSTERCTL_CONFIG_PRIME_NAME ?= config-prime.yaml
10497

10598
MANAGEMENT_CLUSTER_ENVIRONMENT ?= eks
10699

@@ -182,7 +175,6 @@ CHART_TESTING_VER := v3.14.0
182175

183176
# Registry / images
184177
TAG ?= dev
185-
TAG_CAPI_BUMP_TEST ?= $(TAG)-$(CAPI_VERSION_TEST_BUMP_SUFFIX)
186178
ARCH ?= linux/$(shell go env GOARCH)
187179
TARGET_BUILD ?= prime
188180
TARGET_PLATFORMS := linux/amd64,linux/arm64
@@ -204,7 +196,6 @@ PROVIDERS_CHART_DIR := charts/rancher-turtles-providers
204196
RELEASE_DIR ?= out
205197
CHART_PACKAGE_DIR ?= $(RELEASE_DIR)/package
206198
CHART_RELEASE_DIR ?= $(RELEASE_DIR)/$(CHART_DIR)
207-
CHART_RELEASE_DIR_CAPI_BUMP_TEST ?= $(RELEASE_DIR)/$(CHART_DIR)-$(CAPI_VERSION_TEST_BUMP_SUFFIX)
208199
PROVIDERS_CHART_RELEASE_DIR ?= $(RELEASE_DIR)/$(PROVIDERS_CHART_DIR)
209200

210201
# Rancher charts testing
@@ -594,23 +585,6 @@ build-chart: $(HELM) $(KUSTOMIZE) $(RELEASE_DIR) $(CHART_RELEASE_DIR) $(CHART_PA
594585
cd $(CHART_RELEASE_DIR) && $(HELM) dependency update
595586
$(HELM) package $(CHART_RELEASE_DIR) --app-version=$(HELM_CHART_TAG) --version=$(HELM_CHART_TAG) --destination=$(CHART_PACKAGE_DIR)
596587

597-
.PHONY: build-chart-bump-capi
598-
build-chart-bump-capi: $(HELM) $(KUSTOMIZE) $(RELEASE_DIR) $(CHART_RELEASE_DIR) $(CHART_PACKAGE_DIR) ## Builds the chart with an updated version of core CAPI
599-
$(KUSTOMIZE) build ./config/chart > $(CHART_DIR)/templates/rancher-turtles-components.yaml
600-
$(KUSTOMIZE) build ./config/operatorchart > $(CHART_DIR)/templates/operator-crds.yaml
601-
602-
cp -rf $(CHART_DIR)/* $(CHART_RELEASE_DIR)
603-
604-
yq -i '.image.tag="${RELEASE_TAG}"' $(CHART_RELEASE_DIR)/values.yaml
605-
yq -i '.image.imagePullPolicy="${PULL_POLICY}"' $(CHART_RELEASE_DIR)/values.yaml
606-
yq -i '.image.repository="${CONTROLLER_IMG}"' $(CHART_RELEASE_DIR)/values.yaml
607-
608-
cd $(CHART_RELEASE_DIR) && $(HELM) dependency update
609-
$(HELM) package $(CHART_RELEASE_DIR) --app-version=$(HELM_CHART_TAG) --version=$(HELM_CHART_TAG) --destination=$(CHART_PACKAGE_DIR)
610-
611-
# Fetch updated core CAPI manifest file and embed it into the packaged chart
612-
CAPI_VERSION=$(CAPI_VERSION_TEST_BUMP) CAPI_RELEASE_URL="$(CAPI_UPSTREAM_RELEASES)/$(CAPI_VERSION_TEST_BUMP)/core-components.yaml" CHART_DIR=$(CHART_RELEASE_DIR) $(CORE_CAPI_FETCH_SCRIPT)
613-
614588
.PHONY: build-providers-chart
615589
build-providers-chart: $(HELM) $(RELEASE_DIR) $(PROVIDERS_CHART_RELEASE_DIR) $(CHART_PACKAGE_DIR)
616590
cp -rf $(PROVIDERS_CHART_DIR)/* $(PROVIDERS_CHART_RELEASE_DIR)
@@ -638,15 +612,9 @@ test-providers-chart: build-providers-chart
638612
build-local-rancher-charts:
639613
$(MAKE) clean-rancher-charts
640614
mkdir -p $(RANCHER_CHARTS_REPO_DIR)
641-
# First build the regular Turtles chart
615+
# First build the Turtles chart
642616
RELEASE_TAG=$(TAG) HELM_CHART_TAG=$(RANCHER_CHART_DEV_VERSION) $(MAKE) build-chart
643617
CHART_RELEASE_DIR=$(CHART_RELEASE_DIR) HELM=$(HELM) ./scripts/build-local-rancher-charts.sh
644-
# Then build a modified Turtles chart for testing core CAPI bumps
645-
RELEASE_TAG=$(TAG_CAPI_BUMP_TEST) HELM_CHART_TAG=$(RANCHER_CHART_DEV_VERSION).1 CHART_RELEASE_DIR=$(CHART_RELEASE_DIR_CAPI_BUMP_TEST) $(MAKE) build-chart-bump-capi
646-
CHART_RELEASE_DIR=$(CHART_RELEASE_DIR_CAPI_BUMP_TEST) \
647-
RANCHER_CHART_DEV_VERSION=$(RANCHER_CHART_DEV_VERSION).1 \
648-
CLEANUP=false \
649-
HELM=$(HELM) ./scripts/build-local-rancher-charts.sh # make it update the existing local Rancher Charts repo
650618
# Finally build the providers chart
651619
RELEASE_TAG=$(TAG) HELM_CHART_TAG=$(RANCHER_CHART_DEV_VERSION) $(MAKE) build-providers-chart
652620

@@ -660,7 +628,6 @@ $(CACHE_DIR):
660628
E2ECONFIG_VARS ?= MANAGEMENT_CLUSTER_ENVIRONMENT=$(MANAGEMENT_CLUSTER_ENVIRONMENT) \
661629
ROOT_DIR=$(ROOT_DIR) \
662630
TURTLES_VERSION=$(TAG) \
663-
CAPI_VERSION_TEST_BUMP=$(CAPI_VERSION_TEST_BUMP) \
664631
E2E_CONFIG=$(E2E_CONFIG) \
665632
TURTLES_IMAGE=$(REGISTRY)/$(ORG)/turtles-e2e \
666633
ARTIFACTS=$(ARTIFACTS) \
@@ -670,7 +637,6 @@ CLUSTERCTL_BINARY_PATH=$(CLUSTERCTL) \
670637
SKIP_RESOURCE_CLEANUP=$(SKIP_RESOURCE_CLEANUP) \
671638
USE_EXISTING_CLUSTER=$(USE_EXISTING_CLUSTER) \
672639
TURTLES_PROVIDERS=$(TURTLES_PROVIDERS) \
673-
TURTLES_MIGRATION_SCRIPT_PATH=$(TURTLES_MIGRATION_SCRIPT_PATH) \
674640
TURTLES_PROVIDERS_PATH=$(ROOT_DIR)/$(CHART_PACKAGE_DIR)/rancher-turtles-providers-$(RANCHER_CHART_DEV_VERSION).tgz
675641

676642
E2E_RUN_COMMAND=$(E2ECONFIG_VARS) $(GINKGO) -v --trace -p -procs=10 -poll-progress-after=$(GINKGO_POLL_PROGRESS_AFTER) \
@@ -702,22 +668,11 @@ test-e2e-remote: $(GINKGO) $(HELM) $(CLUSTERCTL) kubectl build-local-rancher-cha
702668
e2e-image: ## Build the image for e2e tests
703669
# First build the regular Turtles image
704670
CONTROLLER_IMG=$(REGISTRY)/$(ORG)/turtles-e2e $(MAKE) e2e-image-build
705-
# Then build a modified version of Turtles for testing core CAPI bumps
706-
$(MAKE) e2e-image-capi-bump
707-
708-
.PHONY: e2e-image-capi-bump
709-
e2e-image-capi-bump: ## Build the image for e2e tests with an updated version of core CAPI
710-
@bash -c 'cp $(CLUSTERCTL_CONFIG_PATH)/$(CLUSTERCTL_CONFIG_PRIME_NAME) $(CLUSTERCTL_CONFIG_PATH)/$(CLUSTERCTL_CONFIG_PRIME_NAME).bak; \
711-
trap "mv $(CLUSTERCTL_CONFIG_PATH)/$(CLUSTERCTL_CONFIG_PRIME_NAME).bak $(CLUSTERCTL_CONFIG_PATH)/$(CLUSTERCTL_CONFIG_PRIME_NAME)" EXIT; \
712-
CAPI_VERSION_TEST_BUMP=$(CAPI_VERSION_TEST_BUMP) $(ENVSUBST) < ./test/e2e/data/config-prime-bump.yaml > $(CLUSTERCTL_CONFIG_PATH)/$(CLUSTERCTL_CONFIG_PRIME_NAME); \
713-
TAG=$(TAG_CAPI_BUMP_TEST) CONTROLLER_IMG=$(REGISTRY)/$(ORG)/turtles-e2e $(MAKE) e2e-image-build'
714671

715672
.PHONY: e2e-image-build-and-push
716673
e2e-image-build-and-push: e2e-image
717674
# First push the regular Turtles image
718675
CONTROLLER_IMG=$(REGISTRY)/$(ORG)/turtles-e2e $(MAKE) e2e-image-push
719-
# Then push a modified version of Turtles for testing core CAPI bumps
720-
TAG=$(TAG_CAPI_BUMP_TEST) CONTROLLER_IMG=$(REGISTRY)/$(ORG)/turtles-e2e $(MAKE) e2e-image-push
721676

722677
.PHONY: e2e-image-build
723678
e2e-image-build: ## Build the image for e2e tests

charts/rancher-turtles-providers/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ images:
350350
tag: v2.13.0
351351
infrastructureGCP:
352352
repository: rancher/cluster-api-gcp-controller
353-
tag: v1.11.0
353+
tag: v1.11.1
354354
infrastructureVSphere:
355355
repository: rancher/cluster-api-vsphere-controller
356356
tag: v1.15.2
Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
apiVersion: cluster.x-k8s.io/v1beta2
2+
kind: ClusterClass
3+
metadata:
4+
name: gcp-gke-example
5+
spec:
6+
controlPlane:
7+
templateRef:
8+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
9+
kind: GCPManagedControlPlaneTemplate
10+
name: gke-control-plane
11+
infrastructure:
12+
templateRef:
13+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
14+
kind: GCPManagedClusterTemplate
15+
name: gke-cluster
16+
workers:
17+
machinePools:
18+
- class: default-system
19+
bootstrap:
20+
templateRef:
21+
apiVersion: bootstrap.cluster.x-k8s.io/v1beta1
22+
kind: GKEConfigTemplate
23+
name: gke-bootstrap-system
24+
infrastructure:
25+
templateRef:
26+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
27+
kind: GCPManagedMachinePoolTemplate
28+
name: gke-default-system
29+
- class: default-worker
30+
bootstrap:
31+
templateRef:
32+
apiVersion: bootstrap.cluster.x-k8s.io/v1beta1
33+
kind: GKEConfigTemplate
34+
name: gke-bootstrap-worker
35+
infrastructure:
36+
templateRef:
37+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
38+
kind: GCPManagedMachinePoolTemplate
39+
name: gke-default-worker
40+
variables:
41+
- name: project
42+
required: true
43+
schema:
44+
openAPIV3Schema:
45+
description: "The GCP project where the cluster will be created"
46+
type: string
47+
- name: region
48+
required: true
49+
schema:
50+
openAPIV3Schema:
51+
description: "The GCP region where the cluster will be created"
52+
type: string
53+
default: us-west1
54+
- name: networkName
55+
required: true
56+
schema:
57+
openAPIV3Schema:
58+
description: "The GCP network name"
59+
type: string
60+
patches:
61+
- name: project
62+
definitions:
63+
- selector:
64+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
65+
kind: GCPManagedClusterTemplate
66+
matchResources:
67+
infrastructureCluster: true
68+
jsonPatches:
69+
- op: add
70+
path: /spec/template/spec/project
71+
valueFrom:
72+
variable: project
73+
- name: projectControlPlane
74+
definitions:
75+
- selector:
76+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
77+
kind: GCPManagedControlPlaneTemplate
78+
matchResources:
79+
controlPlane: true
80+
jsonPatches:
81+
- op: add
82+
path: /spec/template/spec/project
83+
valueFrom:
84+
variable: project
85+
- name: region
86+
definitions:
87+
- selector:
88+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
89+
kind: GCPManagedClusterTemplate
90+
matchResources:
91+
infrastructureCluster: true
92+
jsonPatches:
93+
- op: add
94+
path: /spec/template/spec/region
95+
valueFrom:
96+
variable: region
97+
- name: regionControlPlane
98+
definitions:
99+
- selector:
100+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
101+
kind: GCPManagedControlPlaneTemplate
102+
matchResources:
103+
controlPlane: true
104+
jsonPatches:
105+
- op: add
106+
path: /spec/template/spec/location
107+
valueFrom:
108+
variable: region
109+
- name: networkName
110+
definitions:
111+
- selector:
112+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
113+
kind: GCPManagedClusterTemplate
114+
matchResources:
115+
infrastructureCluster: true
116+
jsonPatches:
117+
- op: add
118+
path: /spec/template/spec/network/name
119+
valueFrom:
120+
variable: networkName
121+
---
122+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
123+
kind: GCPManagedClusterTemplate
124+
metadata:
125+
name: gke-cluster
126+
spec:
127+
template:
128+
spec:
129+
project: ""
130+
region: ""
131+
network:
132+
name: ""
133+
---
134+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
135+
kind: GCPManagedControlPlaneTemplate
136+
metadata:
137+
name: gke-control-plane
138+
spec:
139+
template:
140+
spec:
141+
project: ""
142+
location: ""
143+
---
144+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
145+
kind: GCPManagedMachinePoolTemplate
146+
metadata:
147+
name: gke-default-system
148+
spec:
149+
template:
150+
spec: {}
151+
---
152+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
153+
kind: GCPManagedMachinePoolTemplate
154+
metadata:
155+
name: gke-default-worker
156+
spec:
157+
template:
158+
spec: {}
159+
---
160+
# GKEConfigTemplates are the GKE-native bootstrap templates introduced in
161+
# https://github.com/kubernetes-sigs/cluster-api-provider-gcp/pull/1442
162+
apiVersion: bootstrap.cluster.x-k8s.io/v1beta1
163+
kind: GKEConfigTemplate
164+
metadata:
165+
name: gke-bootstrap-system
166+
spec:
167+
template:
168+
spec: {}
169+
---
170+
apiVersion: bootstrap.cluster.x-k8s.io/v1beta1
171+
kind: GKEConfigTemplate
172+
metadata:
173+
name: gke-bootstrap-worker
174+
spec:
175+
template:
176+
spec: {}

internal/controllers/clusterctl/config-prime.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ data:
2222
url: "https://github.com/rancher-sandbox/cluster-api-provider-azure/releases/v1.22.0/infrastructure-components.yaml"
2323
type: "InfrastructureProvider"
2424
- name: "gcp"
25-
url: "https://github.com/rancher-sandbox/cluster-api-provider-gcp/releases/v1.11.0/infrastructure-components.yaml"
25+
url: "https://github.com/rancher-sandbox/cluster-api-provider-gcp/releases/v1.11.1/infrastructure-components.yaml"
2626
type: "InfrastructureProvider"
2727
- name: "vsphere"
2828
url: "https://github.com/rancher-sandbox/cluster-api-provider-vsphere/releases/v1.15.2/infrastructure-components.yaml"

internal/controllers/clusterctl/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ data:
6666
url: https://github.com/rancher-sandbox/cluster-api/releases/v1.12.2/core-components.yaml
6767
- name: gcp
6868
type: InfrastructureProvider
69-
url: https://github.com/rancher-sandbox/cluster-api-provider-gcp/releases/v1.11.0/infrastructure-components.yaml
69+
url: https://github.com/rancher-sandbox/cluster-api-provider-gcp/releases/v1.11.1/infrastructure-components.yaml
7070
- name: rke2
7171
type: ControlPlaneProvider
7272
url: https://github.com/rancher/cluster-api-provider-rke2/releases/v0.23.1/control-plane-components.yaml

test/e2e/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ Note that `SOURCE_REPO` needs to point to your forked repository, and `GITHUB_HE
7676
The E2E suite installs the `rancher-turtles-providers` Helm chart via `test/testenv/providers.go`.
7777

7878
Inputs:
79+
7980
- HELM_BINARY_PATH: Path to the Helm binary used by the installer.
8081
- TURTLES_PROVIDERS_URL: Helm repo URL for the providers chart.
8182
- TURTLES_PROVIDERS_PATH: Local path to the `rancher-turtles-providers` chart.
8283
- TURTLES_PROVIDERS_REPO_NAME: Helm repo name to register.
8384
- TURTLES_PROVIDERS: Comma separated providers to enable on first install (note: this is only specific to e2e and not a helm chart option). Default "all".
84-
- TURTLES_MIGRATION_SCRIPT_PATH: Path to the providers ownership migration script.
8585

8686
Enable providers:
8787

test/e2e/const.go

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ var (
9999
//go:embed data/cluster-templates/aws-kubeadm-topology.yaml
100100
CAPIAwsKubeadmTopology []byte
101101

102-
//go:embed data/cluster-templates/gcp-gke.yaml
103-
CAPIGCPGKE []byte
102+
//go:embed data/cluster-templates/gcp-gke-topology.yaml
103+
CAPIGCPGKETopology []byte
104104

105105
//go:embed data/cluster-templates/gcp-kubeadm-topology.yaml
106106
CAPIGCPKubeadmTopology []byte
@@ -195,18 +195,13 @@ const (
195195
KubeadmTestLabel = "kubeadm"
196196
Rke2TestLabel = "rke2"
197197

198-
CapiClusterOwnerLabel = "cluster-api.cattle.io/capi-cluster-owner"
199-
CapiClusterOwnerNamespaceLabel = "cluster-api.cattle.io/capi-cluster-owner-ns"
200-
OwnedLabelName = "cluster-api.cattle.io/owned"
201-
202198
GCPImageIDVar = "GCP_IMAGE_ID"
203199
GCPImageIDFormattedVar = "GCP_IMAGE_ID_FORMATTED"
204200
GCPProjectIDVar = "GCP_PROJECT"
205201
)
206202

207203
const (
208-
CAPIVersion = "v1.12.2"
209-
CAPIVersionBump = "CAPI_VERSION_TEST_BUMP"
204+
CAPIVersion = "v1.12.2"
210205
)
211206

212207
const (

test/e2e/data/capi-operator/capa-identity-secret.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
apiVersion: v1
2-
kind: Namespace
3-
metadata:
4-
name: capa-system
5-
---
6-
apiVersion: v1
72
kind: Secret
83
metadata:
94
name: cluster-identity

0 commit comments

Comments
 (0)