-
Story
-
Resolution: Done
-
Minor
-
DO280 - OCP4.12-en-2-20230707
URL:
Reporter RHNID:
Section: -
Language: en-US (English)
Workaround: Change from
[student@workstation hello-openshift]$ cat base/kustomization.yaml
kind: Kustomization
bases:
- hello-deployment.yaml
To:
[student@workstation hello-openshift]$ cat base/kustomization.yaml
kind: Kustomization
resources:
- hello-deployment.yaml
Description: The bases: field in a kustomization.yaml has been deprecated and should be replaced with resources:
https://github.com/kubernetes-sigs/kustomize/blob/master/api/types/kustomization.go#L133
Also https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/bases/
The bases field was deprecated in v2.1.0. This field will never be removed from the kustomize.config.k8s.io/v1beta1 Kustomization API, but it will not be included in the kustomize.config.k8s.io/v1 Kustomization API. When Kustomization v1 is available, we will announce the deprecation of the v1beta1 version. There will be at least two releases between deprecation and removal of Kustomization v1beta1 support from the kustomize CLI, and removal itself will happen in a future major version bump