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

add nullable to non struct pointer fields to support cr migration #538

Merged
merged 2 commits into from
Sep 21, 2021

Conversation

pb82
Copy link
Collaborator

@pb82 pb82 commented Sep 21, 2021

Improve the bundle CRDs by adding nullable to all non-struct pointer fields. When running the v3.10.x, some of the fields in the CR get set to null when only partially specifying a config struct. Those fields can't be parsed when they are not set to nullable and cause a validation error when upgrading the CRD.

@pb82 pb82 requested a review from hubeadmin September 21, 2021 10:20
@NissesSenap NissesSenap self-requested a review September 21, 2021 11:34
Copy link
Collaborator

@NissesSenap NissesSenap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@hubeadmin hubeadmin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Fingers crossed this is the last thing 🤞

@hubeadmin hubeadmin merged commit cab0917 into master Sep 21, 2021
@NissesSenap NissesSenap deleted the fix-nullable-fields branch March 14, 2023 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants