Skip to content
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

Helm chart openfaas/openfaas:14.1.7 fails to install because annotation bool value is not quoted #1168

Closed
mschoones opened this issue Nov 2, 2023 · 2 comments

Comments

@mschoones
Copy link

Attempt helm install --namespace openfaas --version 14.1.17 openfaas openfaas/openfaas
fails.

Expected Behaviour

I expect the chart to install, but it fails with message:

Error: INSTALLATION FAILED: 1 error occurred:
* Deployment in version "v1" cannot be handled as a Deployment: json: cannot unmarshal bool into
Go struct field ObjectMeta.spec.template.metadata.annotations of type string

List All Possible Solutions and Workarounds

Add quotes to the value of the annotation (in this case "false") in file:
https://github.com/openfaas/faas-netes/blob/master/chart/openfaas/templates/nats-dep.yaml (line 21)

@alexellis
Copy link
Member

Thanks for letting us know.

@mschoones since this is the first time you've asked for support, can you tell us what company is using OpenFaaS Community Edition here?

Can you send a PR to our ADOPTERS file and list the use-case? https://github.com/openfaas/faas/blob/master/ADOPTERS.md

alexellis added a commit that referenced this issue Nov 3, 2023
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
@alexellis
Copy link
Member

/lock: resolved

@derek derek bot locked and limited conversation to collaborators Nov 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants