Skip to content

Commit

Permalink
set default org to crd
Browse files Browse the repository at this point in the history
  • Loading branch information
AmaliMatharaarachchi committed Apr 9, 2024
1 parent 99b8e68 commit bea1b6b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions common-go-libs/apis/dp/v1alpha2/api_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ type APISpec struct {
// Organization denotes the organization.
// related to the API
//
// +kubebuilder:default:=default
// +optional
Organization string `json:"organization"`

Expand Down
1 change: 1 addition & 0 deletions common-go-libs/config/crd/bases/dp.wso2.com_apis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ spec:
be used as a default API
type: boolean
organization:
default: default
description: Organization denotes the organization. related to the
API
type: string
Expand Down
1 change: 1 addition & 0 deletions helm-charts/templates/crds/dp.wso2.com_apis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ spec:
be used as a default API
type: boolean
organization:
default: default
description: Organization denotes the organization. related to the
API
type: string
Expand Down

0 comments on commit bea1b6b

Please sign in to comment.