mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-25 03:02:17 +00:00
kata-deploy: fix deprecations on kustomization files
By running `kustomize edit fix` on those files they have changed deprecated instructions ('bases' and 'patchesStrategicMerge') as well as 'apiVersion' and 'kind' were added. Fixes #8268 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
parent
bf54a02e16
commit
abc2fcd88f
@ -1,2 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- kata-cleanup.yaml
|
- kata-cleanup.yaml
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
bases:
|
|
||||||
- ../../base
|
|
||||||
|
|
||||||
patchesStrategicMerge:
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
- mount_k3s_conf.yaml
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../base
|
||||||
|
patches:
|
||||||
|
- path: mount_k3s_conf.yaml
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
bases:
|
|
||||||
- ../../base
|
|
||||||
|
|
||||||
patchesStrategicMerge:
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
- mount_rke2_conf.yaml
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../base
|
||||||
|
patches:
|
||||||
|
- path: mount_rke2_conf.yaml
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- kata-deploy.yaml
|
- kata-deploy.yaml
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
bases:
|
|
||||||
- ../../base
|
|
||||||
|
|
||||||
patchesStrategicMerge:
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
- mount_k0s_conf.yaml
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../base
|
||||||
|
patches:
|
||||||
|
- path: mount_k0s_conf.yaml
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
bases:
|
|
||||||
- ../../base
|
|
||||||
|
|
||||||
patchesStrategicMerge:
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
- mount_k3s_conf.yaml
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../base
|
||||||
|
patches:
|
||||||
|
- path: mount_k3s_conf.yaml
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
bases:
|
|
||||||
- ../../base
|
|
||||||
|
|
||||||
patchesStrategicMerge:
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
- mount_rke2_conf.yaml
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../base
|
||||||
|
patches:
|
||||||
|
- path: mount_rke2_conf.yaml
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
bases:
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
- ../../base
|
- ../../base
|
||||||
|
|
||||||
images:
|
images:
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- kata-rbac.yaml
|
- kata-rbac.yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user