From 8cd0c954df4fc95a1c88a436b24968b6d5dccd12 Mon Sep 17 00:00:00 2001 From: Rafia Sabih Date: Thu, 1 Jul 2021 12:16:27 +0200 Subject: [PATCH] More docs and other minor fixes --- docs/reference/operator_parameters.md | 7 +++++++ pkg/apis/acid.zalan.do/v1/crds.go | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/reference/operator_parameters.md b/docs/reference/operator_parameters.md index 5088542c3..98d1c2070 100644 --- a/docs/reference/operator_parameters.md +++ b/docs/reference/operator_parameters.md @@ -264,6 +264,13 @@ configuration they are grouped under the `kubernetes` key. [admin docs](../administrator.md#pod-disruption-budget) for more information. Default is true. +* **enable_cross_namespace_secrets** + To create secrets in a different namespace other than the cluster namespace, + enable this option. Once, enabled user names of the intented users are to be + provided with the namespace in the form `{appnamespace}`.`{username}`. This + makes everything before the first `.` namespace where the secret for that + user has to be created and everything after that as the username. + * **enable_init_containers** global option to allow for creating init containers in the cluster manifest to run actions before Spilo is started. Default is true. diff --git a/pkg/apis/acid.zalan.do/v1/crds.go b/pkg/apis/acid.zalan.do/v1/crds.go index 6a89b09bf..6ca754bbb 100644 --- a/pkg/apis/acid.zalan.do/v1/crds.go +++ b/pkg/apis/acid.zalan.do/v1/crds.go @@ -902,9 +902,6 @@ var OperatorConfigCRDResourceValidation = apiextv1.CustomResourceValidation{ "enable_lazy_spilo_upgrade": { Type: "boolean", }, - "enable_cross_namespace_secret": { - Type: "boolean", - }, "enable_shm_volume": { Type: "boolean", }, @@ -1029,6 +1026,9 @@ var OperatorConfigCRDResourceValidation = apiextv1.CustomResourceValidation{ }, }, }, + "enable_cross_namespace_secret": { + Type: "boolean", + }, "enable_init_containers": { Type: "boolean", },