K3s: Changes to helm chart values or values.yaml aren't always triggering an upgrade

Created on 8 Mar 2019  路  5Comments  路  Source: k3s-io/k3s

kinbug

Most helpful comment

It indeed works fine if the old job is removed manually before applying the updated helm chart. Tested with k3s version v0.7.0.

kubectl delete job --namespace=kube-system helm-install-cert-manager 
kubectl apply -f cert-manager-helmchart.yaml

A new install job was properly created.

All 5 comments

Verified by modifying /var/lib/rancher/k3s/server/manifests/traefik.yaml to add spec.valuesContent, on change the helm-install-traefik pod was re-run to process the modification.

Is it correct that helm is installed alongside of k3s? I couldn't find it, last time I checked I needed to manually install it.

@jwillmer k3s includes a HelmChart CRD that uses https://github.com/rancher/klipper-helm to run helm install/upgrade/remove. There is no tiller pod in the cluster.

@erikwilson I'm seeing similar behavior (upgrades not happening). I've been applying and modifying HelmChart resources directly via kubectl apply, not via the manifests directory. Should I expect that to work?

Helm upgrade are broken at the moment, we probably need to remove the old job first.

It indeed works fine if the old job is removed manually before applying the updated helm chart. Tested with k3s version v0.7.0.

kubectl delete job --namespace=kube-system helm-install-cert-manager 
kubectl apply -f cert-manager-helmchart.yaml

A new install job was properly created.

Was this page helpful?
0 / 5 - 0 ratings