helm-charts
helm-charts copied to clipboard
[netbox] How to upgrade netbox chart ?
How to upgrade netbox chart ?
I tried:
helm repo update
helm upgrade netbox-enix enix/netbox
got the following error:
$ helm upgrade netbox-enix enix/netbox
Error: UPGRADE FAILED: cannot patch "netbox-enix-postgresql" with kind StatefulSet: StatefulSet.apps "netbox-enix-postgresql" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden. && cannot patch "netbox-enix" with kind StatefulSet: StatefulSet.apps "netbox-enix" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden.
Like any helm upgrade, you need to pass in the values you used for creating the release:
helm upgrade netbox-enix enix/netbox --set foo=bar -f values.yaml
# I highly recommand `values files` as parameters on command line are a pain to maintain over release upgrade
You also have a convenient:
helm upgrade netbox-enix enix/netbox --reuse-values
EDIT: As you upgrade failed and reset all values to empty you might need to rollback to recover previous values
Hello,
It would be interesting to update netbox to its latest version. Version 3 has just been released