Skip to content

Commit

Permalink
Release in managed catagory
Browse files Browse the repository at this point in the history
To be conformant with the following:
Managed resources must be in the 'managed' CRD category

Signed-off-by: Hasan Turken <turkenh@gmail.com>
(cherry picked from commit 5d54d2c)
  • Loading branch information
turkenh committed Jun 1, 2021
1 parent 702e6f4 commit 89671ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apis/release/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ type ReleaseStatus struct {
// +kubebuilder:printcolumn:name="REVISION",type="string",JSONPath=".status.atProvider.revision"
// +kubebuilder:printcolumn:name="DESCRIPTION",type="string",JSONPath=".status.atProvider.releaseDescription"
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:resource:scope=Cluster,categories={crossplane,provider,helm}
// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,helm}
type Release struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion apis/release/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ type ConnectionDetail struct {
// +kubebuilder:printcolumn:name="REVISION",type="string",JSONPath=".status.atProvider.revision"
// +kubebuilder:printcolumn:name="DESCRIPTION",type="string",JSONPath=".status.atProvider.releaseDescription"
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:resource:scope=Cluster,categories={crossplane,provider,helm}
// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,helm}
type Release struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion package/crds/helm.crossplane.io_releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
names:
categories:
- crossplane
- provider
- managed
- helm
kind: Release
listKind: ReleaseList
Expand Down

0 comments on commit 89671ad

Please sign in to comment.