Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/v1/imagepolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func (in *ImagePolicy) SetConditions(conditions []metav1.Condition) {
// +kubebuilder:storageversion
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:shortName=imgpol;imagepol
// +kubebuilder:resource:shortName=imgpol;imagepol,categories=all;fluxcd;fluxcd-images
// +kubebuilder:printcolumn:name="Image",type=string,JSONPath=`.status.latestRef.name`
// +kubebuilder:printcolumn:name="Tag",type=string,JSONPath=`.status.latestRef.tag`
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description=""
Expand Down
2 changes: 1 addition & 1 deletion api/v1/imagerepository_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func (in ImageRepository) GetRequeueAfter() time.Duration {
// +kubebuilder:storageversion
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:shortName=imgrepo;imagerepo
// +kubebuilder:resource:shortName=imgrepo;imagerepo,categories=all;fluxcd;fluxcd-images
// +kubebuilder:printcolumn:name="Image",type="string",JSONPath=".spec.image"
// +kubebuilder:printcolumn:name="Tags",type=string,JSONPath=`.status.lastScanResult.tagCount`
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description=""
Expand Down
1 change: 0 additions & 1 deletion api/v1beta2/imagepolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ func (in *ImagePolicy) SetConditions(conditions []metav1.Condition) {
}

// +kubebuilder:object:root=true
// +kubebuilder:resource:shortName=imgpol;imagepol
// +kubebuilder:skipversion

// ImagePolicy is the Schema for the imagepolicies API
Expand Down
1 change: 0 additions & 1 deletion api/v1beta2/imagerepository_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ func (in ImageRepository) GetRequeueAfter() time.Duration {
}

// +kubebuilder:object:root=true
// +kubebuilder:resource:shortName=imgrepo;imagerepo
// +kubebuilder:skipversion

// ImageRepository is the Schema for the imagerepositories API
Expand Down
4 changes: 4 additions & 0 deletions config/crd/bases/image.toolkit.fluxcd.io_imagepolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ metadata:
spec:
group: image.toolkit.fluxcd.io
names:
categories:
- all
- fluxcd
- fluxcd-images
kind: ImagePolicy
listKind: ImagePolicyList
plural: imagepolicies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ metadata:
spec:
group: image.toolkit.fluxcd.io
names:
categories:
- all
- fluxcd
- fluxcd-images
kind: ImageRepository
listKind: ImageRepositoryList
plural: imagerepositories
Expand Down