Skip to content

Add categories to image reflector CRDs#902

Open
shruthihub wants to merge 1 commit into
fluxcd:mainfrom
shruthihub:add-crd-categories
Open

Add categories to image reflector CRDs#902
shruthihub wants to merge 1 commit into
fluxcd:mainfrom
shruthihub:add-crd-categories

Conversation

@shruthihub

Copy link
Copy Markdown

No description provided.

Comment thread api/v1/imagepolicy_types.go Outdated
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:shortName=imgpol;imagepol
// +kubebuilder:resource:shortName=imgpol;imagepol,categories=fluxcd;fluxcd-images

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.

Suggested change
// +kubebuilder:resource:shortName=imgpol;imagepol,categories=fluxcd;fluxcd-images
// +kubebuilder:resource:shortName=imgpol;imagepol,categories=all;fluxcd;fluxcd-images

Comment thread api/v1/imagerepository_types.go Outdated
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:shortName=imgrepo;imagerepo
// +kubebuilder:resource:shortName=imgrepo;imagerepo,categories=fluxcd;fluxcd-images

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.

Suggested change
// +kubebuilder:resource:shortName=imgrepo;imagerepo,categories=fluxcd;fluxcd-images
// +kubebuilder:resource:shortName=imgrepo;imagerepo,categories=all;fluxcd;fluxcd-images

Comment thread api/v1beta2/imagepolicy_types.go Outdated

// +kubebuilder:object:root=true
// +kubebuilder:resource:shortName=imgpol;imagepol
// +kubebuilder:resource:shortName=imgpol;imagepol,categories=fluxcd;fluxcd-images

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.

Suggested change
// +kubebuilder:resource:shortName=imgpol;imagepol,categories=fluxcd;fluxcd-images

Comment thread api/v1beta2/imagerepository_types.go Outdated

// +kubebuilder:object:root=true
// +kubebuilder:resource:shortName=imgrepo;imagerepo
// +kubebuilder:resource:shortName=imgrepo;imagerepo,categories=fluxcd;fluxcd-images

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.

Suggested change
// +kubebuilder:resource:shortName=imgrepo;imagerepo,categories=fluxcd;fluxcd-images

Signed-off-by: kavirakesh14 <kavirakesh007@gmail.com>
@shruthihub shruthihub force-pushed the add-crd-categories branch from cc4baf9 to e620318 Compare June 21, 2026 17:39
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