Skip to content

Add categories to the ArtifactGenerator CRD#345

Merged
matheuscscp merged 1 commit into
fluxcd:mainfrom
josesiqueira:add-crd-categories
Jun 24, 2026
Merged

Add categories to the ArtifactGenerator CRD#345
matheuscscp merged 1 commit into
fluxcd:mainfrom
josesiqueira:add-crd-categories

Conversation

@josesiqueira

Copy link
Copy Markdown
Contributor

This adds the standard Flux resource categories to the ArtifactGenerator CRD in this
repository so users can list Flux resources with kubectl, for example:

kubectl get fluxcd          # all Flux resources
kubectl get fluxcd-sources   # all resources in this category
kubectl get all             # now includes Flux resources

Each CRD gets exactly three categories:

all
fluxcd
fluxcd-sources

The CRDs were regenerated with make manifests.

Part of fluxcd/flux2#5947

@matheuscscp matheuscscp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! 🚀

@matheuscscp matheuscscp added the hold Issues and pull requests put on hold label Jun 23, 2026
@matheuscscp

Copy link
Copy Markdown
Member

This one needs to wait until source-watcher v2.2 is released, otherwise there will be a skew since all the other controllers were released for Flux v2.9 without it. Added the hold label until we release v2.2.

@matheuscscp matheuscscp removed the hold Issues and pull requests put on hold label Jun 24, 2026
@matheuscscp

Copy link
Copy Markdown
Member

Hey @josesiqueira this PR is unblocked, v2.2 is released. Can you pls rebase and force-push? Thanks! 🙏

Add the standard Flux resource categories to the ArtifactGenerator CRD
so users can list Flux resources with kubectl using category selectors:

  all             every resource in the cluster
  fluxcd          every Flux resource
  fluxcd-sources  every Flux source resource

Regenerate the CRD with make manifests.

Signed-off-by: José Siqueira <jose.siqueira.cerqueira@gmail.com>
Assisted-by: Claude/claude-opus-4-8
@matheuscscp matheuscscp merged commit d9dbfa6 into fluxcd:main Jun 24, 2026
5 checks passed
@matheuscscp matheuscscp added the backport:release/v2.2.x To be backported to release/v2.2.x label Jun 26, 2026
@fluxcdbot

Copy link
Copy Markdown
Member

Successfully created backport PR for release/v2.2.x:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:release/v2.2.x To be backported to release/v2.2.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants