Skip to content

Commit

Permalink
fix: updates to kustomization.yaml after v5
Browse files Browse the repository at this point in the history
After upgrading to kustomization v5 we need to make some updates to our
kustomization files.

Signed-off-by: Richard Case <[email protected]>
  • Loading branch information
richardcase committed Oct 18, 2024
1 parent b812b70 commit e09e669
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
# default template enables external ccm and csi
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
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

patches:
- path: ../addons/cni/patches/cluster-cni.yaml
- path: ../addons/ccm/patches/external-cloud-provider.yaml
- path: ../addons/csi/patches/external-csi-provider.yaml
Empty file.

0 comments on commit e09e669

Please sign in to comment.