Documentation ¶
Index ¶
Constants ¶
const WarnMessageRemovalV1beta1 = "The v1beta1 API version for CRDs and Webhooks is deprecated and is no longer offered since " +
"Kubernetes 1.22. This flag will be removed in a future release. We " +
"recommend that you no longer use the v1beta1 API version" +
"More info: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-22"
Variables ¶
This section is empty.
Functions ¶
func IsGolangLegacyLayout ¶
IsGolangLegacyLayout returns true if c's does not have the plugins configuration.
func RemoveKustomizeCRDManifests ¶
func RemoveKustomizeCRDManifests() error
RemoveKustomizeCRDManifests removes items in config/crd relating to CRD conversion webhooks.
func UpdateIfLegacyKey ¶
UpdateIfLegacyKey returns true if c's "plugins" map or "layout" value contains a legacy key that may require this plugin be executed, even if the "manifests" key isn't in "plugins".
func UpdateKustomizationsCreateAPI ¶
func UpdateKustomizationsCreateAPI() error
UpdateKustomizationsCreateAPI updates certain parts of or removes entire kustomization.yaml files that are either not used by certain CreateAPI plugins or are created by preceding CreateAPI plugins.
func UpdateKustomizationsInit ¶
func UpdateKustomizationsInit() error
UpdateKustomizationsInit updates certain parts of or removes entire kustomization.yaml files that are either not used by certain Init plugins or are created by preceding Init plugins.
Types ¶
This section is empty.