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

Prepare for the addition of new CRD #1863

Merged
merged 2 commits into from
Nov 21, 2023
Merged

Conversation

cniackz
Copy link
Contributor

@cniackz cniackz commented Nov 16, 2023

Objective:

This PR has been created in anticipation of introducing a new CRD

Reason:

Currently, running ./k8s/update-codegen.sh does not work; it necessitates code changes. If this script is essential for adding new CRDs, it should function properly initially. I suspect that some of the detailed files contain features we no longer support. However, these files were not removed because this script isn't executed frequently enough to automatically generate them.

@pjuarezd
Copy link
Member

Could you do make regen-crd and make regen-crd-docs too @cniackz? just want to make sure CRD and docs are sync with this change

Copy link
Collaborator

@dvaldivia dvaldivia left a comment

Choose a reason for hiding this comment

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

How were these changed?

@pjuarezd
Copy link
Member

How were these changed?

I though these are just because the codegen version was updated recently and all @cniackz did was run ./k8s/update-codegen.sh

@dvaldivia
Copy link
Collaborator

if I do that along with regen-crd I get also changes to the CRD, @cniackz can you re-run also regen-crd?

@pjuarezd
Copy link
Member

if I do that along with regen-crd I get also changes to the CRD, @cniackz can you re-run also regen-crd?

Addressed in last commit, this is fine to merge

cniackz and others added 2 commits November 20, 2023 15:23
* Bump code-generator to v0.28.4
* Add grants for needed bash scripts
* execute `make regen-crd` and `make-regen-crd-docs`.
* `go mod tidy` all the things

Signed-off-by: pjuarezd <pjuarezd@users.noreply.github.com>
@dvaldivia dvaldivia merged commit 0f48bf1 into minio:master Nov 21, 2023
24 checks passed
@cniackz cniackz deleted the auto-generate-crd branch November 29, 2023 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants