Hi.. <https://github.com/rancher/rancher/issues/40...
# random
c
Hi.. https://github.com/rancher/rancher/issues/40119 Rancher Server Setup • Rancher version: rancher/rancher:v2.7.0 • Installation option (Docker install/Helm Chart): ◦ If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE1 • Proxy/Cert Details: Nginx as a Reverse proxy and wildcard Information about the Cluster • Kubernetes version: 1.24.8 • Cluster Type (Local/Downstream): Imported User Information • What is the role of the user logged in? Admin Describe the bug After we've upgraded our previous rancher version (2.6.9) to the newest version (2.70) with the following 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
We're experiencing a lot of this "helm operations" with the following error message.
Copy code
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
Copy code
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