Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
1 change: 1 addition & 0 deletions api/v1/bucket_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ func (in *Bucket) GetArtifact() *meta.Artifact {
// +genclient
// +kubebuilder:storageversion
// +kubebuilder:object:root=true
// +kubebuilder:resource:categories=all;fluxcd;fluxcd-sources
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Endpoint",type=string,JSONPath=`.spec.endpoint`
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description=""
Expand Down
1 change: 1 addition & 0 deletions api/v1/externalartifact_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func (in *ExternalArtifact) GetRequeueAfter() time.Duration {
}

// +kubebuilder:object:root=true
// +kubebuilder:resource:shortName=hc,categories=all;fluxcd;fluxcd-sources
Comment thread
shruthihub marked this conversation as resolved.
Outdated
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description=""
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description=""
Expand Down
2 changes: 1 addition & 1 deletion api/v1/gitrepository_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ func (v *GitRepositoryVerification) VerifyTag() bool {
// +genclient
// +kubebuilder:storageversion
// +kubebuilder:object:root=true
// +kubebuilder:resource:shortName=gitrepo
// +kubebuilder:resource:shortName=gitrepo,categories=all;fluxcd;fluxcd-sources
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="URL",type=string,JSONPath=`.spec.url`
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description=""
Expand Down
2 changes: 1 addition & 1 deletion api/v1/helmchart_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func (in *HelmChart) GetValuesFiles() []string {
// +genclient
// +kubebuilder:storageversion
// +kubebuilder:object:root=true
// +kubebuilder:resource:shortName=hc
// +kubebuilder:resource:shortName=hc,categories=all;fluxcd;fluxcd-sources
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Chart",type=string,JSONPath=`.spec.chart`
// +kubebuilder:printcolumn:name="Version",type=string,JSONPath=`.spec.version`
Expand Down
2 changes: 1 addition & 1 deletion api/v1/helmrepository_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func (in *HelmRepository) GetArtifact() *meta.Artifact {
// +genclient
// +kubebuilder:storageversion
// +kubebuilder:object:root=true
// +kubebuilder:resource:shortName=helmrepo
// +kubebuilder:resource:shortName=helmrepo,categories=all;fluxcd;fluxcd-sources
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="URL",type=string,JSONPath=`.spec.url`
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description=""
Expand Down
2 changes: 1 addition & 1 deletion api/v1/ocirepository_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func (in *OCIRepository) GetLayerOperation() string {
// +genclient
// +kubebuilder:storageversion
// +kubebuilder:object:root=true
// +kubebuilder:resource:shortName=ocirepo
// +kubebuilder:resource:shortName=ocirepo,categories=all;fluxcd;fluxcd-sources
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="URL",type=string,JSONPath=`.spec.url`
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description=""
Expand Down
4 changes: 4 additions & 0 deletions config/crd/bases/source.toolkit.fluxcd.io_buckets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ metadata:
spec:
group: source.toolkit.fluxcd.io
names:
categories:
- all
- fluxcd
- fluxcd-sources
kind: Bucket
listKind: BucketList
plural: buckets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ metadata:
spec:
group: source.toolkit.fluxcd.io
names:
categories:
- all
- fluxcd
- fluxcd-sources
kind: ExternalArtifact
listKind: ExternalArtifactList
plural: externalartifacts
shortNames:
- hc
singular: externalartifact
scope: Namespaced
versions:
Expand Down