-
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
kustomize build changing string values to integer #3031
Comments
Please provide your kustomization.yaml file and other related files so we can reproduce it. |
@Shell32-Natsu I got my issue resolved. It was a problem caused by envsubst. Thanks for checking |
Great to hear that! /close |
@Shell32-Natsu: Closing this issue. In response to this:
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/test-infra repository. |
@sahil-sawhney We're seeing this issue on Ubuntu 20.04.1 LTS where integers in environment variables were quoted in |
I have one of my yaml in overlays to include environment variables as follows
COUNT: "10"
Now when I do a Kustomize build, above content transforms to this
COUNT: 10
Now when I try to do a kubectl apply to this, it reports an error
The pod is invalid: spec.containers.env.COUNT: Invalid value: "integer": spec.containers.env.COUNT in body must be of type string: "integer"
The text was updated successfully, but these errors were encountered: