Name in a configMapRef is not updated to include suffix/prefix when namespace is defined #5827
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
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: