-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade existing kustomizations to v5
After upgrading the version of kustomize we use we need to upgrade our kustomization.yaml files to v5 format. Signed-off-by: Richard Case <[email protected]>
- Loading branch information
1 parent
b812b70
commit 44f630b
Showing
30 changed files
with
256 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 21 additions & 21 deletions
42
...cture-aws/withclusterclass/kustomize_sources/external-vpc-clusterclass/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
resources: | ||
- ../topology/cluster-template.yaml | ||
- ../topology/cluster-template.yaml | ||
patches: | ||
- path: ./byo-infra-variables.yaml | ||
target: | ||
group: cluster.x-k8s.io | ||
version: v1beta1 | ||
kind: Cluster | ||
- path: ./limited-az-variable.yaml | ||
target: | ||
group: cluster.x-k8s.io | ||
version: v1beta1 | ||
kind: Cluster | ||
- path: ./byo-infra-variables.yaml | ||
target: | ||
group: cluster.x-k8s.io | ||
kind: Cluster | ||
version: v1beta1 | ||
- path: ./limited-az-variable.yaml | ||
target: | ||
group: cluster.x-k8s.io | ||
kind: Cluster | ||
version: v1beta1 | ||
configMapGenerator: | ||
- name: cloud-controller-manager-addon | ||
files: | ||
- ../../..//withoutclusterclass/kustomize_sources/addons/ccm/data/aws-ccm-external.yaml | ||
- name: aws-ebs-csi-driver-addon | ||
files: | ||
- ../../../withoutclusterclass/kustomize_sources/addons/csi/data/aws-ebs-csi-external.yaml | ||
- files: | ||
- ../../..//withoutclusterclass/kustomize_sources/addons/ccm/data/aws-ccm-external.yaml | ||
name: cloud-controller-manager-addon | ||
- files: | ||
- ../../../withoutclusterclass/kustomize_sources/addons/csi/data/aws-ebs-csi-external.yaml | ||
name: aws-ebs-csi-driver-addon | ||
generatorOptions: | ||
annotations: | ||
note: generated | ||
disableNameSuffixHash: true | ||
labels: | ||
type: generated | ||
annotations: | ||
note: generated | ||
|
||
|
||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization |
22 changes: 12 additions & 10 deletions
22
...ws/withclusterclass/kustomize_sources/nested-multitenancy-clusterclass/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
resources: | ||
- cluster-template.yaml | ||
- role.yaml | ||
- cluster-template.yaml | ||
- role.yaml | ||
configMapGenerator: | ||
- name: cloud-controller-manager-addon | ||
files: | ||
- ../../../withoutclusterclass/kustomize_sources/addons/ccm/data/aws-ccm-external.yaml | ||
- name: aws-ebs-csi-driver-addon | ||
files: | ||
- ../../../withoutclusterclass/kustomize_sources/addons/csi/data/aws-ebs-csi-external.yaml | ||
- files: | ||
- ../../../withoutclusterclass/kustomize_sources/addons/ccm/data/aws-ccm-external.yaml | ||
name: cloud-controller-manager-addon | ||
- files: | ||
- ../../../withoutclusterclass/kustomize_sources/addons/csi/data/aws-ebs-csi-external.yaml | ||
name: aws-ebs-csi-driver-addon | ||
generatorOptions: | ||
annotations: | ||
note: generated | ||
disableNameSuffixHash: true | ||
labels: | ||
type: generated | ||
annotations: | ||
note: generated | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization |
40 changes: 21 additions & 19 deletions
40
...ucture-aws/withclusterclass/kustomize_sources/self-hosted-clusterclass/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
resources: | ||
- ../topology/cluster-template.yaml | ||
- ../topology/cluster-template.yaml | ||
patches: | ||
- path: ./self-hosted-variable.yaml | ||
target: | ||
group: cluster.x-k8s.io | ||
version: v1beta1 | ||
kind: Cluster | ||
- path: ./limited-az-variable.yaml | ||
target: | ||
group: cluster.x-k8s.io | ||
version: v1beta1 | ||
kind: Cluster | ||
- path: ./self-hosted-variable.yaml | ||
target: | ||
group: cluster.x-k8s.io | ||
kind: Cluster | ||
version: v1beta1 | ||
- path: ./limited-az-variable.yaml | ||
target: | ||
group: cluster.x-k8s.io | ||
kind: Cluster | ||
version: v1beta1 | ||
configMapGenerator: | ||
- name: cloud-controller-manager-addon | ||
files: | ||
- ../../..//withoutclusterclass/kustomize_sources/addons/ccm/data/aws-ccm-external.yaml | ||
- name: aws-ebs-csi-driver-addon | ||
files: | ||
- ../../../withoutclusterclass/kustomize_sources/addons/csi/data/aws-ebs-csi-external.yaml | ||
- files: | ||
- ../../..//withoutclusterclass/kustomize_sources/addons/ccm/data/aws-ccm-external.yaml | ||
name: cloud-controller-manager-addon | ||
- files: | ||
- ../../../withoutclusterclass/kustomize_sources/addons/csi/data/aws-ebs-csi-external.yaml | ||
name: aws-ebs-csi-driver-addon | ||
generatorOptions: | ||
annotations: | ||
note: generated | ||
disableNameSuffixHash: true | ||
labels: | ||
type: generated | ||
annotations: | ||
note: generated | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization |
21 changes: 11 additions & 10 deletions
21
...2e/data/infrastructure-aws/withclusterclass/kustomize_sources/topology/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
resources: | ||
- cluster-template.yaml | ||
- cluster-template.yaml | ||
configMapGenerator: | ||
- name: cloud-controller-manager-addon | ||
files: | ||
- ../../..//withoutclusterclass/kustomize_sources/addons/ccm/data/aws-ccm-external.yaml | ||
- name: aws-ebs-csi-driver-addon | ||
files: | ||
- ../../../withoutclusterclass/kustomize_sources/addons/csi/data/aws-ebs-csi-external.yaml | ||
- files: | ||
- ../../..//withoutclusterclass/kustomize_sources/addons/ccm/data/aws-ccm-external.yaml | ||
name: cloud-controller-manager-addon | ||
- files: | ||
- ../../../withoutclusterclass/kustomize_sources/addons/csi/data/aws-ebs-csi-external.yaml | ||
name: aws-ebs-csi-driver-addon | ||
generatorOptions: | ||
annotations: | ||
note: generated | ||
disableNameSuffixHash: true | ||
labels: | ||
type: generated | ||
annotations: | ||
note: generated | ||
|
||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization |
2 changes: 1 addition & 1 deletion
2
...e2e/data/infrastructure-aws/withoutclusterclass/kustomize_sources/base/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- cluster-template.yaml | ||
- cluster-template.yaml |
8 changes: 5 additions & 3 deletions
8
...rastructure-aws/withoutclusterclass/kustomize_sources/csimigration-off/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
resources: | ||
- ../intree-cloud-provider | ||
patchesStrategicMerge: | ||
- patches/csimigration-off.yaml | ||
- ../intree-cloud-provider | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
patches: | ||
- path: patches/csimigration-off.yaml |
37 changes: 19 additions & 18 deletions
37
.../data/infrastructure-aws/withoutclusterclass/kustomize_sources/default/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
# default template enables external ccm and csi | ||
resources: | ||
- ../base | ||
- machine-deployment.yaml | ||
- ../addons/cni/resources/cni-resource-set.yaml | ||
- ../addons/ccm/resources/ccm-resource-set.yaml | ||
- ../addons/csi/resources/csi-resource-set.yaml | ||
patchesStrategicMerge: | ||
- ../addons/cni/patches/cluster-cni.yaml | ||
- ../addons/ccm/patches/external-cloud-provider.yaml | ||
- ../addons/csi/patches/external-csi-provider.yaml | ||
- ../base | ||
- machine-deployment.yaml | ||
- ../addons/cni/resources/cni-resource-set.yaml | ||
- ../addons/ccm/resources/ccm-resource-set.yaml | ||
- ../addons/csi/resources/csi-resource-set.yaml | ||
configMapGenerator: | ||
- name: cloud-controller-manager-addon | ||
files: | ||
- ../addons/ccm/data/aws-ccm-external.yaml | ||
- name: aws-ebs-csi-driver-addon | ||
files: | ||
- ../addons/csi/data/aws-ebs-csi-external.yaml | ||
- files: | ||
- ../addons/ccm/data/aws-ccm-external.yaml | ||
name: cloud-controller-manager-addon | ||
- files: | ||
- ../addons/csi/data/aws-ebs-csi-external.yaml | ||
name: aws-ebs-csi-driver-addon | ||
generatorOptions: | ||
annotations: | ||
note: generated | ||
disableNameSuffixHash: true | ||
labels: | ||
type: generated | ||
annotations: | ||
note: generated | ||
|
||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
patches: | ||
- path: ../addons/cni/patches/cluster-cni.yaml | ||
- path: ../addons/ccm/patches/external-cloud-provider.yaml | ||
- path: ../addons/csi/patches/external-csi-provider.yaml |
39 changes: 20 additions & 19 deletions
39
...a/infrastructure-aws/withoutclusterclass/kustomize_sources/efs-support/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
resources: | ||
- ../base | ||
- machine-deployment.yaml | ||
- ../addons/cni/resources/cni-resource-set.yaml | ||
- ../addons/ccm/resources/ccm-resource-set.yaml | ||
- csi-resource-set.yaml | ||
patchesStrategicMerge: | ||
- ../addons/cni/patches/cluster-cni.yaml | ||
- ../addons/ccm/patches/external-cloud-provider.yaml | ||
- patches/efs-support.yaml | ||
- patches/limit-az.yaml | ||
- ../base | ||
- machine-deployment.yaml | ||
- ../addons/cni/resources/cni-resource-set.yaml | ||
- ../addons/ccm/resources/ccm-resource-set.yaml | ||
- csi-resource-set.yaml | ||
configMapGenerator: | ||
- name: cloud-controller-manager-addon | ||
files: | ||
- ../addons/ccm/data/aws-ccm-external.yaml | ||
- name: aws-efs-csi-driver-addon | ||
files: | ||
- aws-efs-csi-external.yaml | ||
- files: | ||
- ../addons/ccm/data/aws-ccm-external.yaml | ||
name: cloud-controller-manager-addon | ||
- files: | ||
- aws-efs-csi-external.yaml | ||
name: aws-efs-csi-driver-addon | ||
generatorOptions: | ||
annotations: | ||
note: generated | ||
disableNameSuffixHash: true | ||
labels: | ||
type: generated | ||
annotations: | ||
note: generated | ||
|
||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
patches: | ||
- path: ../addons/cni/patches/cluster-cni.yaml | ||
- path: ../addons/ccm/patches/external-cloud-provider.yaml | ||
- path: patches/efs-support.yaml | ||
- path: patches/limit-az.yaml |
20 changes: 11 additions & 9 deletions
20
.../infrastructure-aws/withoutclusterclass/kustomize_sources/external-csi/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
# internal ccm and external csi installed | ||
resources: | ||
- ../intree-cloud-provider | ||
- ../addons/csi/resources/csi-resource-set.yaml | ||
patchesStrategicMerge: | ||
- ../addons/csi/patches/external-csi-provider.yaml | ||
- ../intree-cloud-provider | ||
- ../addons/csi/resources/csi-resource-set.yaml | ||
configMapGenerator: | ||
- name: aws-ebs-csi-driver-addon | ||
files: | ||
- ../addons/csi/data/aws-ebs-csi-external.yaml | ||
- files: | ||
- ../addons/csi/data/aws-ebs-csi-external.yaml | ||
name: aws-ebs-csi-driver-addon | ||
generatorOptions: | ||
annotations: | ||
note: generated | ||
disableNameSuffixHash: true | ||
labels: | ||
type: generated | ||
annotations: | ||
note: generated | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
patches: | ||
- path: ../addons/csi/patches/external-csi-provider.yaml |
Empty file.
28 changes: 15 additions & 13 deletions
28
.../e2e/data/infrastructure-aws/withoutclusterclass/kustomize_sources/gpu/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
resources: | ||
- ../default | ||
- gpu-resource-set.yaml | ||
patchesStrategicMerge: | ||
- patches/gpu-label.yaml | ||
- patches/gpu-instance-type.yaml | ||
- ../default | ||
- gpu-resource-set.yaml | ||
configMapGenerator: | ||
- name: nvidia-clusterpolicy-crd | ||
files: | ||
- clusterpolicy-crd.yaml | ||
- name: nvidia-gpu-operator-components | ||
files: | ||
- gpu-operator-components.yaml | ||
- files: | ||
- clusterpolicy-crd.yaml | ||
name: nvidia-clusterpolicy-crd | ||
- files: | ||
- gpu-operator-components.yaml | ||
name: nvidia-gpu-operator-components | ||
generatorOptions: | ||
annotations: | ||
note: generated | ||
disableNameSuffixHash: true | ||
labels: | ||
type: generated | ||
annotations: | ||
note: generated | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
patches: | ||
- path: patches/gpu-label.yaml | ||
- path: patches/gpu-instance-type.yaml |
14 changes: 8 additions & 6 deletions
14
...data/infrastructure-aws/withoutclusterclass/kustomize_sources/ignition/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
resources: | ||
- ../default | ||
patchesStrategicMerge: | ||
- patches/control-plane-ami.yaml | ||
- patches/control-plane-ignition.yaml | ||
- patches/s3bucket.yaml | ||
- patches/worker-ami.yaml | ||
- patches/worker-ignition.yaml | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
patches: | ||
- path: patches/control-plane-ami.yaml | ||
- path: patches/control-plane-ignition.yaml | ||
- path: patches/s3bucket.yaml | ||
- path: patches/worker-ami.yaml | ||
- path: patches/worker-ignition.yaml |
11 changes: 6 additions & 5 deletions
11
.../infrastructure-aws/withoutclusterclass/kustomize_sources/internal-elb/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
resources: | ||
- ../remote-management-cluster | ||
patchesStrategicMerge: | ||
- patches/internal-elb.yaml | ||
- patches/az-select.yaml | ||
|
||
- ../remote-management-cluster | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
patches: | ||
- path: patches/internal-elb.yaml | ||
- path: patches/az-select.yaml |
12 changes: 7 additions & 5 deletions
12
...ucture-aws/withoutclusterclass/kustomize_sources/intree-cloud-provider/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
resources: | ||
- ../base | ||
- machine-deployment.yaml | ||
- ../addons/cni/resources/cni-resource-set.yaml | ||
patchesStrategicMerge: | ||
- ../addons/cni/patches/cluster-cni.yaml | ||
- ../base | ||
- machine-deployment.yaml | ||
- ../addons/cni/resources/cni-resource-set.yaml | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
patches: | ||
- path: ../addons/cni/patches/cluster-cni.yaml |
6 changes: 4 additions & 2 deletions
6
...frastructure-aws/withoutclusterclass/kustomize_sources/kcp-remediation/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
resources: | ||
- ../limit-az | ||
- mhc.yaml | ||
- ../limit-az | ||
- mhc.yaml | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization |
Oops, something went wrong.