configMapGenerator: single quote removed from config map literal if quote is last character #4233
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Describe the bug
When defining a literal value in
configMapGenerator
where the last character is a single quote, the last character is removed bykustomize build
.Files that can reproduce the issue
kustomization.yaml
Expected output
Actual output
The trailing single quote is missing.
Note: if the single quote is not the last character, it works as expected:
Yields:
Kustomize version
{Version:kustomize/v4.4.0 GitCommit:63ec6bdb3d737a7c66901828c5743656c49b60e1 BuildDate:2021-09-27T16:24:12Z GoOs:linux GoArch:amd64}
Platform
Linux
The text was updated successfully, but these errors were encountered: