diff --git a/crds/operators.coreos.com_installplans.yaml b/crds/operators.coreos.com_installplans.yaml index d302575c1..0db207434 100644 --- a/crds/operators.coreos.com_installplans.yaml +++ b/crds/operators.coreos.com_installplans.yaml @@ -62,6 +62,7 @@ spec: properties: approval: description: Approval is the user approval policy for an InstallPlan. + It must be one of "Automatic" or "Manual". type: string approved: type: boolean diff --git a/crds/operators.coreos.com_subscriptions.yaml b/crds/operators.coreos.com_subscriptions.yaml index efa157f9a..bb936d384 100644 --- a/crds/operators.coreos.com_subscriptions.yaml +++ b/crds/operators.coreos.com_subscriptions.yaml @@ -1634,6 +1634,7 @@ spec: type: string installPlanApproval: description: Approval is the user approval policy for an InstallPlan. + It must be one of "Automatic" or "Manual". type: string name: type: string diff --git a/pkg/operators/v1alpha1/installplan_types.go b/pkg/operators/v1alpha1/installplan_types.go index 41bbd429f..5c86f797b 100644 --- a/pkg/operators/v1alpha1/installplan_types.go +++ b/pkg/operators/v1alpha1/installplan_types.go @@ -14,6 +14,7 @@ const ( ) // Approval is the user approval policy for an InstallPlan. +// It must be one of "Automatic" or "Manual". type Approval string const (