operator-framework / olm-docs

Hugo doc site for https://github.com/operator-framework/operator-lifecycle-manager
10 stars 82 forks source link

Replace `spec.approval` field in subscription resource with `spec.installPlanApproval` #78

Closed hiroara closed 3 years ago

hiroara commented 3 years ago

Hi, thank you for providing such the great product 👍

When I added a subscription resource to my cluster, I got the following error:

error: error validating "...": error validating data: ValidationError(Subscription.spec): unknown field "approval" in com.coreos.operators.v1alpha1.Subscription.spec; if you choose to ignore these errors, turn validation off with --validate=false

Seeing the CRD definition, spec.installPlanApproval seems be correct and worked on my cluster. If this would help this project.

exdx commented 3 years ago

Thanks for your contribution! /lgtm