Skip to content

Commit

Permalink
Merge pull request #8269 from wainersm/kata-deploy_deprecated
Browse files Browse the repository at this point in the history
kata-deploy: fix deprecations on kustomization files
  • Loading branch information
fidencio committed Jan 31, 2024
2 parents 9c0312d + abc2fcd commit 39a64d1
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- kata-cleanup.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
bases:
- ../../base

patchesStrategicMerge:
- mount_k3s_conf.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
patches:
- path: mount_k3s_conf.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
bases:
- ../../base

patchesStrategicMerge:
- mount_rke2_conf.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
patches:
- path: mount_rke2_conf.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- kata-deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
bases:
- ../../base

patchesStrategicMerge:
- mount_k0s_conf.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
patches:
- path: mount_k0s_conf.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
bases:
- ../../base

patchesStrategicMerge:
- mount_k3s_conf.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
patches:
- path: mount_k3s_conf.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
bases:
- ../../base

patchesStrategicMerge:
- mount_rke2_conf.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
patches:
- path: mount_rke2_conf.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
bases:
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base

images:
Expand Down
2 changes: 2 additions & 0 deletions tools/packaging/kata-deploy/kata-rbac/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- kata-rbac.yaml

0 comments on commit 39a64d1

Please sign in to comment.