chilly-room-20276
01/16/2023, 12:02 PMhelm upgrade rancher rancher-stable/rancher --namespace cattle-system --set hostname=<http://rancher-ouze.calcard.com.br|rancher-ouze.calcard.com.br> --version 2.7.0 --set ingress.tls.source=secret --set privateCA=true
We're experiencing a lot of this "helm operations" with the following error message.
helm upgrade --force-adopt=true --history-max=5 --install=true --namespace=cattle-fleet-system --reset-values=true --timeout=5m0s --values=/home/shell/helm/values-fleet-101.0.0-up0.5.0.yaml --version=101.0.0+up0.5.0 --wait=true fleet /home/shell/helm/fleet-101.0.0-up0.5.0.tgz
Error: UPGRADE FAILED: YAML parse error on fleet/templates/deployment.yaml: error converting YAML to JSON: yaml: line 27: did not find expected key
To Reproduce
Execute the command:
helm upgrade rancher rancher-stable/rancher --namespace cattle-system --set hostname=<http://rancher-ouze.calcard.com.br|rancher-ouze.calcard.com.br> --version 2.7.0 --set ingress.tls.source=secret --set privateCA=true
Result
helm upgrade --force-adopt=true --history-max=5 --install=true --namespace=cattle-fleet-system --reset-values=true --timeout=5m0s --values=/home/shell/helm/values-fleet-101.0.0-up0.5.0.yaml --version=101.0.0+up0.5.0 --wait=true fleet /home/shell/helm/fleet-101.0.0-up0.5.0.tgz
Error: UPGRADE FAILED: YAML parse error on fleet/templates/deployment.yaml: error converting YAML to JSON: yaml: line 27: did not find expected key
**Expected Result**
Screenshot