diff --git a/api/v1alpha1/docs/apiref.adoc b/api/v1alpha1/docs/apiref.adoc index 3697e67a..4ce4408d 100644 --- a/api/v1alpha1/docs/apiref.adoc +++ b/api/v1alpha1/docs/apiref.adoc @@ -2137,6 +2137,8 @@ The webhook URL is unique per environment. + | | Optional: \{} + hidden/disabled in the UI. When nil or empty, all integrations are + considered enabled. Only listed integrations are hidden. + | | Optional: \{} + +| *`accountVerifierURL`* __string__ | AccountVerifierURL is the URL used to call the account verifier service + | | Optional: \{} + + |=== diff --git a/api/v1alpha1/toolchainconfig_types.go b/api/v1alpha1/toolchainconfig_types.go index 924357d1..afc1ebf6 100644 --- a/api/v1alpha1/toolchainconfig_types.go +++ b/api/v1alpha1/toolchainconfig_types.go @@ -257,6 +257,10 @@ type RegistrationServiceConfig struct { // +optional // +listType=set DisabledIntegrations []string `json:"disabledIntegrations,omitempty"` + + // AccountVerifierURL is the URL used to call the account verifier service + // +optional + AccountVerifierURL *string `json:"accountVerifierURL,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 160cf284..02470143 100644 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -1932,6 +1932,11 @@ func (in *RegistrationServiceConfig) DeepCopyInto(out *RegistrationServiceConfig *out = make([]string, len(*in)) copy(*out, *in) } + if in.AccountVerifierURL != nil { + in, out := &in.AccountVerifierURL, &out.AccountVerifierURL + *out = new(string) + **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 7cb949bc..17a90d31 100644 --- a/api/v1alpha1/zz_generated.openapi.go +++ b/api/v1alpha1/zz_generated.openapi.go @@ -2651,6 +2651,13 @@ func schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceConfig(ref c }, }, }, + "accountVerifierURL": { + SchemaProps: spec.SchemaProps{ + Description: "AccountVerifierURL is the URL used to call the account verifier service", + Type: []string{"string"}, + Format: "", + }, + }, }, }, },