Skip to content

Commit

Permalink
chore(AwsNfsBackupSchedule): add category to cloud-resource (kyma-pro…
Browse files Browse the repository at this point in the history
  • Loading branch information
dushanpantic authored Oct 3, 2024
1 parent b491cc5 commit 31dca64
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 3 additions & 2 deletions api/cloud-resources/v1beta1/awsnfsbackupschedule_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,9 @@ type AwsNfsBackupScheduleStatus struct {
BackupCount int `json:"backupCount,omitempty"`
}

//+kubebuilder:object:root=true
//+kubebuilder:subresource:status
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:categories={kyma-cloud-manager}
// +kubebuilder:printcolumn:name="Schedule",type="string",JSONPath=".spec.schedule"
// +kubebuilder:printcolumn:name="Last Run Time",type="date",JSONPath=".status.lastCreateRun"
// +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.state"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
cloud-resources.kyma-project.io/version: v0.0.1
cloud-resources.kyma-project.io/version: v0.0.2
name: awsnfsbackupschedules.cloud-resources.kyma-project.io
spec:
group: cloud-resources.kyma-project.io
names:
categories:
- kyma-cloud-manager
kind: AwsNfsBackupSchedule
listKind: AwsNfsBackupScheduleList
plural: awsnfsbackupschedules
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
cloud-resources.kyma-project.io/version: v0.0.1
cloud-resources.kyma-project.io/version: v0.0.2
name: awsnfsbackupschedules.cloud-resources.kyma-project.io
spec:
group: cloud-resources.kyma-project.io
names:
categories:
- kyma-cloud-manager
kind: AwsNfsBackupSchedule
listKind: AwsNfsBackupScheduleList
plural: awsnfsbackupschedules
Expand Down
2 changes: 1 addition & 1 deletion config/patchAfterMakeManifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ yq -i '.metadata.annotations."cloud-resources.kyma-project.io/version" = "v0.0.4
yq -i '.metadata.annotations."cloud-resources.kyma-project.io/version" = "v0.0.1"' $SCRIPT_DIR/crd/bases/cloud-resources.kyma-project.io_gcpvpcpeerings.yaml
yq -i '.metadata.annotations."cloud-resources.kyma-project.io/version" = "v0.0.1"' $SCRIPT_DIR/crd/bases/cloud-resources.kyma-project.io_awsvpcpeerings.yaml
yq -i '.metadata.annotations."cloud-resources.kyma-project.io/version" = "v0.0.1"' $SCRIPT_DIR/crd/bases/cloud-resources.kyma-project.io_cloudresources.yaml
yq -i '.metadata.annotations."cloud-resources.kyma-project.io/version" = "v0.0.1"' $SCRIPT_DIR/crd/bases/cloud-resources.kyma-project.io_awsnfsbackupschedules.yaml
yq -i '.metadata.annotations."cloud-resources.kyma-project.io/version" = "v0.0.2"' $SCRIPT_DIR/crd/bases/cloud-resources.kyma-project.io_awsnfsbackupschedules.yaml

0 comments on commit 31dca64

Please sign in to comment.