-
Notifications
You must be signed in to change notification settings - Fork 62
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
Nullpointer Exception on Backup #857
Comments
Hi @sashokbg Do you have any It looks to me that a field is not correctly populated in the snapshot object when using the swift backend. |
Hello @Kidswiss thank you for your message here are some yamls from the snapshots:
|
Hi @sashokbg Sorry was a bit busy... I just checked your It should take the value of EDIT: it might start to work if you use envFrom to inject following envVar:
Then you delete the existing |
Hello @Kidswiss Good news your suggestion worked perfectly !! I checked the snapshots and saw they did not have the repository field that was added recently so I checked my CRDs and found out I forgot to update them (silly me). I updated the CRDs and then deleted all snapshots as you suggested and everything worked. Thank you very much for your kind help |
Description
When trying to run a manual backup (see yaml bellow) I get a strange null pointer exception.
Additional Context
Logs
Expected Behavior
Backup should work
Steps To Reproduce
Version of K8up
v4.2.2
Version of Kubernetes
v1.23.7
Distribution of Kubernetes
Bare metal
The text was updated successfully, but these errors were encountered: