Skip to content
New issue

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

[netbox] How to upgrade netbox chart ? #26

Open
tiagoalves83 opened this issue Jun 17, 2020 · 2 comments
Open

[netbox] How to upgrade netbox chart ? #26

tiagoalves83 opened this issue Jun 17, 2020 · 2 comments
Labels

Comments

@tiagoalves83
Copy link
Contributor

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. 
@Zempashi
Copy link
Contributor

Zempashi commented Jun 17, 2020

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

@abuisine abuisine changed the title How to upgrade netbox chart ? [netbox] How to upgrade netbox chart ? Jun 25, 2020
@qdupuy
Copy link

qdupuy commented Aug 31, 2021

Hello,

It would be interesting to update netbox to its latest version. Version 3 has just been released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants