Skip to content

Commit

Permalink
Merge pull request #190 from vshn/fix/external_db_default
Browse files Browse the repository at this point in the history
Fix wrong comment for kubebuilder
  • Loading branch information
TheBigLee authored Jul 9, 2024
2 parents fbdb9f4 + f5899cb commit 2d2b5cd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apis/vshn/v1/vshn_nextcloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ type VSHNNextcloudServiceSpec struct {
// ServiceLevel defines the service level of this service. Either Best Effort or Guaranteed Availability is allowed.
ServiceLevel VSHNDBaaSServiceLevel `json:"serviceLevel,omitempty"`

// // +kubebuilder:default=true"
// +kubebuilder:default=true

//UseExternalPostgreSQL defines if the VSHNPostgreSQL database backend should be used. Defaults to true. If set to false,
// UseExternalPostgreSQL defines if the VSHNPostgreSQL database backend should be used. Defaults to true. If set to false,
// the build-in SQLite database is being used.
UseExternalPostgreSQL bool `json:"useExternalPostgreSQL,omitempty"`

Expand Down
1 change: 1 addition & 0 deletions crds/vshn.appcat.vshn.io_vshnnextclouds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8605,6 +8605,7 @@ spec:
- guaranteed
type: string
useExternalPostgreSQL:
default: true
description: |-
UseExternalPostgreSQL defines if the VSHNPostgreSQL database backend should be used. Defaults to true. If set to false,
the build-in SQLite database is being used.
Expand Down
1 change: 1 addition & 0 deletions crds/vshn.appcat.vshn.io_xvshnnextclouds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10396,6 +10396,7 @@ spec:
- guaranteed
type: string
useExternalPostgreSQL:
default: true
description: |-
UseExternalPostgreSQL defines if the VSHNPostgreSQL database backend should be used. Defaults to true. If set to false,
the build-in SQLite database is being used.
Expand Down

0 comments on commit 2d2b5cd

Please sign in to comment.