Skip to content

Commit

Permalink
Make the boolean required
Browse files Browse the repository at this point in the history
  • Loading branch information
d34dh0r53 committed Nov 13, 2024
1 parent 0fdb6c4 commit 1e40cf9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions api/bases/keystone.openstack.org_keystoneapis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ spec:
required:
- containerImage
- databaseInstance
- enableFederation
- enableInsecureDebug
- enableKeystoneDebug
- memcachedInstance
Expand Down
2 changes: 1 addition & 1 deletion api/v1beta1/keystoneapi_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ type KeystoneAPISpecCore struct {
// TLS - Parameters related to the TLS
TLS tls.API `json:"tls,omitempty"`

// +kubebuilder:validation:Optional
// +kubebuilder:validation:Required
// +kubebuilder:default=false
// Enablement of Federation configuration
EnableFederation bool `json:"enableFederation"`
Expand Down
1 change: 1 addition & 0 deletions config/crd/bases/keystone.openstack.org_keystoneapis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ spec:
required:
- containerImage
- databaseInstance
- enableFederation
- enableInsecureDebug
- enableKeystoneDebug
- memcachedInstance
Expand Down

0 comments on commit 1e40cf9

Please sign in to comment.