diff --git a/api/v1alpha1/docs/apiref.adoc b/api/v1alpha1/docs/apiref.adoc index 4ce4408d..40e3379e 100644 --- a/api/v1alpha1/docs/apiref.adoc +++ b/api/v1alpha1/docs/apiref.adoc @@ -2139,6 +2139,8 @@ considered enabled. Only listed integrations are hidden. + | | Optional: \{} + | *`accountVerifierURL`* __string__ | AccountVerifierURL is the URL used to call the account verifier service + | | Optional: \{} + +| *`accountVerifierEnabled`* __boolean__ | AccountVerifierEnabled controls whether the registration service acts on responses from the account-verifier service. + | | Optional: \{} + + |=== diff --git a/api/v1alpha1/toolchainconfig_types.go b/api/v1alpha1/toolchainconfig_types.go index afc1ebf6..8090f675 100644 --- a/api/v1alpha1/toolchainconfig_types.go +++ b/api/v1alpha1/toolchainconfig_types.go @@ -261,6 +261,10 @@ type RegistrationServiceConfig struct { // AccountVerifierURL is the URL used to call the account verifier service // +optional AccountVerifierURL *string `json:"accountVerifierURL,omitempty"` + + // AccountVerifierEnabled controls whether the registration service acts on responses from the account-verifier service. + // +optional + AccountVerifierEnabled *bool `json:"accountVerifierEnabled,omitempty"` } // RegistrationServiceAnalyticsConfig contains the subset of registration service configuration parameters related to analytics diff --git a/api/v1alpha1/zz_generated.deepcopy.go b/api/v1alpha1/zz_generated.deepcopy.go index 02470143..b7e2d92d 100644 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -1937,6 +1937,11 @@ func (in *RegistrationServiceConfig) DeepCopyInto(out *RegistrationServiceConfig *out = new(string) **out = **in } + if in.AccountVerifierEnabled != nil { + in, out := &in.AccountVerifierEnabled, &out.AccountVerifierEnabled + *out = new(bool) + **out = **in + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistrationServiceConfig. diff --git a/api/v1alpha1/zz_generated.openapi.go b/api/v1alpha1/zz_generated.openapi.go index 17a90d31..467e765a 100644 --- a/api/v1alpha1/zz_generated.openapi.go +++ b/api/v1alpha1/zz_generated.openapi.go @@ -2658,6 +2658,13 @@ func schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceConfig(ref c Format: "", }, }, + "accountVerifierEnabled": { + SchemaProps: spec.SchemaProps{ + Description: "AccountVerifierEnabled controls whether the registration service acts on responses from the account-verifier service.", + Type: []string{"boolean"}, + Format: "", + }, + }, }, }, },