We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Empty releases from Helm break deployments
To Reproduce Steps to reproduce the behavior:
... Internal IPs for nodes in cluster are: [10.132.15.224 10.132.0.26] Adding property: externalIps -> {10.132.15.224\,10.132.0.26}Helm Set Params map[externalIps:{10.132.15.224\,10.132.0.26}]Checking chart folder: .git Checking chart folder: startup-daemonset Checking chart folder: traefik Checking chart folder: traefik-dev Found chart for app [traefikdev] -> [traefikdev] Executing [ helm list --output json ] [] Output: [] 2021/01/17 20:21:00 Error parsing json to struct [91 93 10 10] json: cannot unmarshal array into Go value of type deploy.ReleasesList
Expected behavior Deployment should carry on ignoring empty list of releases
Additional context The output of helm list --output json should be checked as string instead of trying to directly umarshal as JSON.
helm list --output json
string
myiac/internal/deploy/helm.go
Line 105 in 939e253
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Empty releases from Helm break deployments
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Deployment should carry on ignoring empty list of releases
Additional context
The output of
helm list --output json
should be checked asstring
instead of trying to directly umarshal as JSON.myiac/internal/deploy/helm.go
Line 105 in 939e253
The text was updated successfully, but these errors were encountered: