-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Don't panic when storageClassName is not set in stateful sets #5247
Conversation
edf2d9a
to
74e5e93
Compare
@divolgin |
@blackpiglet
Here's an example. Note that there is no storage class name.
|
Signed-off-by: divolgin <[email protected]>
74e5e93
to
ad4e733
Compare
@blackpiglet Yes, since this is a string pointer instead of a string, Velero needs to be prepared for both |
@sseago @blackpiglet Thanks for merging this! Do you have any idea when this fix will be shipped and what version it will be? |
@divolgin It will certainly be in 1.10. At present, there is no 1.9.2 release planned, but if one does happen, this could possibly make it in that one as well, |
It should be included in coming Velero version v1.10. |
Thank you for contributing to Velero!
Please add a summary of your change
When reassigning storage class names, there needs to be a nil pointer check because the value is optional and the variable is a pointer to a string.
Does your change fix a particular issue?
Fixes #4782
Please indicate you've done the following:
/kind changelog-not-required
as a comment on this pull request.site/content/docs/main
.