Skip to content

Commit 93e8f4d

Browse files
committed
Fix kustomize deprecations in e2e test templates
1 parent f8d26c6 commit 93e8f4d

File tree

7 files changed

+52
-45
lines changed

7 files changed

+52
-45
lines changed
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
bases:
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
24
- ../bases/cluster-with-kcp.yaml
35
- ../bases/md.yaml
46
- mhc.yaml
@@ -7,7 +9,6 @@ bases:
79
- ../../../../../../templates/addons/cluster-api-helm/azuredisk-csi-driver.yaml
810
- ../../../../../../templates/addons/cluster-api-helm/cloud-provider-azure.yaml
911
- ../../../../../../templates/addons/cluster-api-helm/cloud-provider-azure-ci.yaml
10-
11-
patchesStrategicMerge:
12-
- ../../../../../../templates/azure-cluster-identity/azurecluster-identity-ref.yaml
13-
- ../../../../../../templates/test/ci/patches/cluster-label-calico.yaml
12+
patches:
13+
- path: ../../../../../../templates/azure-cluster-identity/azurecluster-identity-ref.yaml
14+
- path: ../../../../../../templates/test/ci/patches/cluster-label-calico.yaml
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
bases:
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
24
- ../bases/cluster-with-kcp.yaml
35
- ../bases/md.yaml
46
- ../../../../../../templates/azure-cluster-identity/azure-cluster-identity.yaml
57
- ../../../../../../templates/addons/cluster-api-helm/calico.yaml
68
- ../../../../../../templates/addons/cluster-api-helm/azuredisk-csi-driver.yaml
79
- ../../../../../../templates/addons/cluster-api-helm/cloud-provider-azure.yaml
810
- ../../../../../../templates/addons/cluster-api-helm/cloud-provider-azure-ci.yaml
9-
10-
patchesStrategicMerge:
11-
- ./cluster-with-kcp.yaml
12-
- ../../../../../../templates/azure-cluster-identity/azurecluster-identity-ref.yaml
13-
- ../../../../../../templates/test/ci/patches/cluster-label-calico.yaml
14-
- ../../../../../../templates/test/ci/patches/cluster-label-cloud-provider-azure.yaml
11+
patches:
12+
- path: ./cluster-with-kcp.yaml
13+
- path: ../../../../../../templates/azure-cluster-identity/azurecluster-identity-ref.yaml
14+
- path: ../../../../../../templates/test/ci/patches/cluster-label-calico.yaml
15+
- path: ../../../../../../templates/test/ci/patches/cluster-label-cloud-provider-azure.yaml
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
13
resources:
24
- ../bases/cluster-with-kcp.yaml
35
- ../bases/mp.yaml
@@ -6,8 +8,7 @@ resources:
68
- ../../../../../../templates/addons/cluster-api-helm/azuredisk-csi-driver.yaml
79
- ../../../../../../templates/addons/cluster-api-helm/cloud-provider-azure.yaml
810
- ../../../../../../templates/addons/cluster-api-helm/cloud-provider-azure-ci.yaml
9-
10-
patchesStrategicMerge:
11-
- ../../../../../../templates/azure-cluster-identity/azurecluster-identity-ref.yaml
12-
- ../../../../../../templates/test/ci/patches/cluster-label-calico.yaml
13-
- ../../../../../../templates/test/ci/patches/cluster-label-cloud-provider-azure.yaml
11+
patches:
12+
- path: ../../../../../../templates/azure-cluster-identity/azurecluster-identity-ref.yaml
13+
- path: ../../../../../../templates/test/ci/patches/cluster-label-calico.yaml
14+
- path: ../../../../../../templates/test/ci/patches/cluster-label-cloud-provider-azure.yaml
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
bases:
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
24
- ../bases/cluster-with-kcp.yaml
35
- ../bases/md.yaml
46
- mhc.yaml
@@ -7,9 +9,8 @@ bases:
79
- ../../../../../../templates/addons/cluster-api-helm/azuredisk-csi-driver.yaml
810
- ../../../../../../templates/addons/cluster-api-helm/cloud-provider-azure.yaml
911
- ../../../../../../templates/addons/cluster-api-helm/cloud-provider-azure-ci.yaml
10-
11-
patchesStrategicMerge:
12-
- ./md.yaml
13-
- ../../../../../../templates/azure-cluster-identity/azurecluster-identity-ref.yaml
14-
- ../../../../../../templates/test/ci/patches/cluster-label-calico.yaml
15-
- ../../../../../../templates/test/ci/patches/cluster-label-cloud-provider-azure.yaml
12+
patches:
13+
- path: ./md.yaml
14+
- path: ../../../../../../templates/azure-cluster-identity/azurecluster-identity-ref.yaml
15+
- path: ../../../../../../templates/test/ci/patches/cluster-label-calico.yaml
16+
- path: ../../../../../../templates/test/ci/patches/cluster-label-cloud-provider-azure.yaml
Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
bases:
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
24
- ../bases/cluster-with-kcp.yaml
35
- ../bases/md.yaml
46
- ../../../../../../templates/azure-cluster-identity/azure-cluster-identity.yaml
57
- ../../../../../../templates/addons/cluster-api-helm/calico.yaml
68
- ../../../../../../templates/addons/cluster-api-helm/azuredisk-csi-driver.yaml
79
- ../../../../../../templates/addons/cluster-api-helm/cloud-provider-azure.yaml
810
- ../../../../../../templates/addons/cluster-api-helm/cloud-provider-azure-ci.yaml
9-
10-
patchesStrategicMerge:
11-
- ./md.yaml
12-
- ./cluster-with-kcp.yaml
13-
- ../../../../../../templates/azure-cluster-identity/azurecluster-identity-ref.yaml
14-
- ../../../../../../templates/test/ci/patches/cluster-label-calico.yaml
15-
- ../../../../../../templates/test/ci/patches/cluster-label-cloud-provider-azure.yaml
11+
patches:
12+
- path: ./md.yaml
13+
- path: ./cluster-with-kcp.yaml
14+
- path: ../../../../../../templates/azure-cluster-identity/azurecluster-identity-ref.yaml
15+
- path: ../../../../../../templates/test/ci/patches/cluster-label-calico.yaml
16+
- path: ../../../../../../templates/test/ci/patches/cluster-label-cloud-provider-azure.yaml
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
13
resources:
2-
- ../bases/cluster-with-kcp.yaml
3-
- ../bases/md.yaml
4-
- ../bases/mp.yaml
5-
- ../../../../../../templates/azure-cluster-identity/azure-cluster-identity.yaml
6-
7-
patchesStrategicMerge:
8-
- ../../../../../../templates/azure-cluster-identity/azurecluster-identity-ref.yaml
4+
- ../bases/cluster-with-kcp.yaml
5+
- ../bases/md.yaml
6+
- ../bases/mp.yaml
7+
- ../../../../../../templates/azure-cluster-identity/azure-cluster-identity.yaml
8+
patches:
9+
- path: ../../../../../../templates/azure-cluster-identity/azurecluster-identity-ref.yaml
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
bases:
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
24
- ../bases/cluster-with-kcp.yaml
35
- ../bases/md.yaml
46
- ../../../../../../templates/azure-cluster-identity/azure-cluster-identity.yaml
57
- ../../../../../../templates/addons/cluster-api-helm/calico.yaml
68
- ../../../../../../templates/addons/cluster-api-helm/azuredisk-csi-driver.yaml
79
- ../../../../../../templates/addons/cluster-api-helm/cloud-provider-azure.yaml
810
- ../../../../../../templates/addons/cluster-api-helm/cloud-provider-azure-ci.yaml
9-
10-
patchesStrategicMerge:
11-
- ../../../../../../templates/azure-cluster-identity/azurecluster-identity-ref.yaml
12-
- ../../../../../../templates/test/ci/patches/cluster-label-calico.yaml
13-
- ../../../../../../templates/test/ci/patches/cluster-label-cloud-provider-azure.yaml
11+
patches:
12+
- path: ../../../../../../templates/azure-cluster-identity/azurecluster-identity-ref.yaml
13+
- path: ../../../../../../templates/test/ci/patches/cluster-label-calico.yaml
14+
- path: ../../../../../../templates/test/ci/patches/cluster-label-cloud-provider-azure.yaml

0 commit comments

Comments
 (0)