diff --git a/api/v1alpha1/memberoperatorconfig_types.go b/api/v1alpha1/memberoperatorconfig_types.go index faf00602..6e0d71fd 100644 --- a/api/v1alpha1/memberoperatorconfig_types.go +++ b/api/v1alpha1/memberoperatorconfig_types.go @@ -155,7 +155,8 @@ type ToolchainClusterConfig struct { // Defines all parameters concerned with the Webhook // +k8s:openapi-gen=true type WebhookConfig struct { - // Defines the flag that determines whether to deploy the Webhook + // Defines the flag that determines whether to deploy the Webhook. + // If the deploy flag is set to False and the Webhook was deployed previously it will be deleted by the memberoperatorconfig controller. // +optional Deploy *bool `json:"deploy,omitempty"` diff --git a/api/v1alpha1/zz_generated.openapi.go b/api/v1alpha1/zz_generated.openapi.go index 68cb0440..0597c18d 100644 --- a/api/v1alpha1/zz_generated.openapi.go +++ b/api/v1alpha1/zz_generated.openapi.go @@ -5213,7 +5213,7 @@ func schema_codeready_toolchain_api_api_v1alpha1_WebhookConfig(ref common.Refere Properties: map[string]spec.Schema{ "deploy": { SchemaProps: spec.SchemaProps{ - Description: "Defines the flag that determines whether to deploy the Webhook", + Description: "Defines the flag that determines whether to deploy the Webhook. If the deploy flag is disabled, the Webhook is deployed and deleted immediately after by the memberoperatorconfig controller.", Type: []string{"boolean"}, Format: "", },