kustomize-controller icon indicating copy to clipboard operation
kustomize-controller copied to clipboard

postBuild converts strings to integers or float

Open dwerder opened this issue 2 years ago • 1 comments

We have an issues with the following variable:

we use a configmap value as followed: awsAccountId: "0999991" <-- the leading zero is important

With postBuild enabled the result is 999991. We tried

awsAccountId: "0999991" awsAccountId: '0999991' awsAccountId: | - 0999991 awsAccountId: >- 0999991

dwerder avatar Apr 20 '22 11:04 dwerder

/cc @haarchri

dwerder avatar Apr 20 '22 11:04 dwerder

Fixed in https://github.com/fluxcd/kustomize-controller/pull/1129

stefanprodan avatar Apr 09 '24 19:04 stefanprodan