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

API definitions contain invalid tag genclient:Namespaced #4634

Closed
gmolau opened this issue Feb 28, 2024 · 4 comments
Closed

API definitions contain invalid tag genclient:Namespaced #4634

gmolau opened this issue Feb 28, 2024 · 4 comments
Labels
umbrella-issue Umbrella issue for tracking progress of a larger effort

Comments

@gmolau
Copy link

gmolau commented Feb 28, 2024

Many API definitions of the Flux project contain a tag genclient:Namespaced. This tag isn't actually used by controller-tools, only nonNamespaced.

Having this tag does not create immediate problems, but can trip up other tools that validate the tags, e.g. applyconfiguration-gen here.

Originally discussed in the CNCF Slack here.

PRs to remove this tag everywhere:

@stefanprodan
Copy link
Member

@gmolau I think we have it in the image automation controllers too. Can you please do the changes there as well?

@gmolau
Copy link
Author

gmolau commented Feb 28, 2024

The image controllers don't use it, see https://github.com/search?q=%2Fgenclient%3ANamespaced%2F+org%3Afluxcd&type=code

I had missed one in pkg though, added this now.

@stefanprodan stefanprodan added the umbrella-issue Umbrella issue for tracking progress of a larger effort label Feb 29, 2024
@gmolau
Copy link
Author

gmolau commented Mar 1, 2024

@stefanprodan Can you trigger a release for these updates? I know I could depend on the commits directly, but I would like to keep the version of my Docker images in sync with the lib.

@stefanprodan
Copy link
Member

@gmolau these changes will be included in the next minor scheduled for mid April.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
umbrella-issue Umbrella issue for tracking progress of a larger effort
Projects
None yet
Development

No branches or pull requests

2 participants