Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default org to default in crd #2337

Closed
wants to merge 2 commits into from
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
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
4 changes: 2 additions & 2 deletions common-go-libs/apis/dp/v1alpha2/apipolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ type PolicySpec struct {
//
// +kubebuilder:default:=false
// +optional
SubscriptionValidation bool `json:"subscriptionValidation,omitempty"`
SubscriptionValidation bool `json:"subscriptionValidation"`
}

// BackendJWTToken holds backend JWT token information
Expand All @@ -76,7 +76,7 @@ type CORSPolicy struct {
//
// +kubebuilder:default=true
// +optional
Enabled bool `json:"enabled,omitempty"`
Enabled bool `json:"enabled"`

// AllowCredentials indicates whether the request can include user credentials like
// cookies, HTTP authentication or client side SSL certificates.
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
Loading