-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Name in a configMapRef is not updated to include suffix/prefix when namespace is defined #5827
Comments
This issue is currently awaiting triage. SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
related to #5047 |
A workaround config-name-reference.yml
kustomization.yml
|
tldr: set namespace: A, in your overlay this is how I think about it:
if you put a namespace A in overlay:
|
Thanks for clarifying. |
What happened?
The same issue appears when using a namespace in the base
kustomization.yml
. I don't think it is intentional.Issue
ConfigMap hash generated metadata.name doesn't match Deployment spec.template.spec.containers.envFrom.configMapRef.name; when base kustomization specifies a namespace.
Reproduce
Files at: https://gist.github.com/safizn/a37f399fb2706cf8d73331f42b840ddf
base/deployment.yml
base/kustomization.yml
overlay/kustomization.yml
Expected result
Actual result
Difference
Versions
Linux
$
kubectly version
Client Version: v1.32.0
Kustomize Version: v5.5.0
The text was updated successfully, but these errors were encountered: