You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/api/v1/cluster_types.go
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1428,6 +1428,9 @@ type CertificatesStatus struct {
1428
1428
// BootstrapInitDB is the configuration of the bootstrap process when
1429
1429
// initdb is used
1430
1430
// Refer to the Bootstrap page of the documentation for more information.
1431
+
// +kubebuilder:validation:XValidation:rule="!has(self.builtinLocale) || self.localeProvider == 'builtin'",message="builtinLocale is only available when localeProvider is set to `builtin`"
1432
+
// +kubebuilder:validation:XValidation:rule="!has(self.icuLocale) || self.localeProvider == 'icu'",message="icuLocale is only available when localeProvider is set to `icu`"
1433
+
// +kubebuilder:validation:XValidation:rule="!has(self.icuRules) || self.localeProvider == 'icu'",message="icuRules is only available when localeProvider is set to `icu`"
1431
1434
typeBootstrapInitDBstruct {
1432
1435
// Name of the database used by the application. Default: `app`.
1433
1436
// +optional
@@ -1468,6 +1471,33 @@ type BootstrapInitDB struct {
1468
1471
// +optional
1469
1472
LocaleCTypestring`json:"localeCType,omitempty"`
1470
1473
1474
+
// Sets the default collation order and character classification in the new database.
1475
+
// +optional
1476
+
Localestring`json:"locale,omitempty"`
1477
+
1478
+
// This option sets the locale provider for databases created in the new cluster.
0 commit comments