generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 528
Open
Labels
kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.Categorizes issue or PR as related to cleaning up code, process, or technical debt.
Description
What would you like to be cleaned:
When running kustomize build config/default/ with CertManager enabled, we see the following warning:
# Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically.
2026/02/12 19:48:34 well-defined vars that were never replaced: VISIBILITY_CERTIFICATE_NAMESPACE,CERTIFICATE_NAME,CERTIFICATE_NAMESPACE,VISIBILITY_CERTIFICATE_NAME
Why is this needed:
To avoid using a deprecated feature, and as mentioned here, it will not be included in the kustomize.config.k8s.io/v1 Kustomization API.
How to reproduce it (as minimally and precisely as possible):
- config/default/kustomization.yaml: uncomment certmanager resource, prometheus resource, and the vars: block
- config/components/prometheus/kustomization.yaml: uncomment the patches: block
kustomize build config/default/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.Categorizes issue or PR as related to cleaning up code, process, or technical debt.