Skip to content

hugepages empty on default and updated date in codegen files #2512

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

Merged
merged 2 commits into from
Jan 12, 2024

Conversation

FxKu
Copy link
Member

@FxKu FxKu commented Jan 11, 2024

For #2509 I need to implement an update call on the Postgres resource. Turns out this fails if hugepages (introduced just recently with #2311) are not specified in the manifest. For CPU and memory we assign defaults if they are not specified but hugepages remain an emtpy string which violates the CRD on update call.

This PR turns the hugepages fields into pointers so they are unset during updates against the cluster manifest.

FYI: I have re-run code generation which updated the year in many files.

@FxKu FxKu added this to the 2.0 milestone Jan 11, 2024
@FxKu FxKu changed the title hugepages empty on default and updated date hugepages empty on default and updated date in codegen files Jan 11, 2024
@FxKu
Copy link
Member Author

FxKu commented Jan 11, 2024

👍

1 similar comment
@idanovinda
Copy link
Member

👍

@FxKu FxKu merged commit 39f426d into master Jan 12, 2024
@FxKu FxKu deleted the hugepages-default branch January 12, 2024 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants