-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.
Description
What happened?
kustomize v5.8.1 does not use the correct name of a generated configMap or secret when patching a deployment generated by Helm. It just uses the name without the hash. The same works flawlessly with kustomize v5.7.1
Please see the attached reproducer example.
kustomize-helm-configMap-reproducer.tgz
What did you expect to happen?
Same behaviour as in kustomize v5.7.1 and earlier.
How can we reproduce it (as minimally and precisely as possible)?
see attached files
Expected output
apiVersion: v1
data:
config: foo
kind: ConfigMap
metadata:
name: test-config-g46hh6k8tf
--
secret:
defaultMode: 292
secretName: test-secret-gh24bh7t8g
- configMap:
defaultMode: 292
name: test-config-g46hh6k8tfActual output
apiVersion: v1
data:
config: foo
kind: ConfigMap
metadata:
name: test-config-g46hh6k8tf
--
secret:
defaultMode: 292
secretName: test-secret
- configMap:
defaultMode: 292
name: test-configKustomize version
v5.8.1
Operating system
MacOS
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.