From 8546a391eb138e0bbce2e572afafec418a1f9edd Mon Sep 17 00:00:00 2001 From: asararatnakar Date: Tue, 2 Aug 2022 13:56:29 -0400 Subject: [PATCH] add the fields that are accidentally deleted in previous commits Signed-off-by: asararatnakar --- api/v1beta1/common_struct.go | 2 +- api/v1beta1/ibpconsole_types.go | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/api/v1beta1/common_struct.go b/api/v1beta1/common_struct.go index f5eb6d6c..adb6bf27 100644 --- a/api/v1beta1/common_struct.go +++ b/api/v1beta1/common_struct.go @@ -196,7 +196,7 @@ type License struct { // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:checkbox" // +kubebuilder:validation:Enum=true - Accept bool `json:"accept"` + Accept bool `json:"accept,omitempty"` } // +k8s:deepcopy-gen=true diff --git a/api/v1beta1/ibpconsole_types.go b/api/v1beta1/ibpconsole_types.go index 5808df9f..2c9e17a0 100644 --- a/api/v1beta1/ibpconsole_types.go +++ b/api/v1beta1/ibpconsole_types.go @@ -75,6 +75,12 @@ type IBPConsoleSpec struct { // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true AuthScheme string `json:"authScheme,omitempty"` + // AllowDefaultPassword, if true, will bypass the password reset flow + // on the first connection to the console GUI. By default (false), all + // consoles require a password reset at the first login. + // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true + AllowDefaultPassword bool `json:"allowDefaultPassword,omitempty"` + // Components is database name used for components // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true Components string `json:"components,omitempty"`