From 9bca4b24f0c77ce030aa6f392f83711256c3ea26 Mon Sep 17 00:00:00 2001 From: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com> Date: Tue, 17 Dec 2024 09:59:39 -0500 Subject: [PATCH] Sync OperatorPolicy CRD Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com> (cherry picked from commit 67a38dcb64ccf208c0b012db012b590119c7b40b) --- ...y.open-cluster-management.io_operatorpolicies_crd.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkg/addon/configpolicy/manifests/managedclusterchart/templates/policy.open-cluster-management.io_operatorpolicies_crd.yaml b/pkg/addon/configpolicy/manifests/managedclusterchart/templates/policy.open-cluster-management.io_operatorpolicies_crd.yaml index e746047..cdc9d3c 100644 --- a/pkg/addon/configpolicy/manifests/managedclusterchart/templates/policy.open-cluster-management.io_operatorpolicies_crd.yaml +++ b/pkg/addon/configpolicy/manifests/managedclusterchart/templates/policy.open-cluster-management.io_operatorpolicies_crd.yaml @@ -75,7 +75,9 @@ spec: type: string operatorGroup: description: >- - OperatorGroup specifies which `OperatorGroup` to inspect. Include the name, namespace, and any `spec` fields for the operator group. For more info, see `kubectl explain operatorgroups.spec` or view https://olm.operatorframework.io/docs/concepts/crds/operatorgroup/. + OperatorGroup specifies which `OperatorGroup` to inspect. This resource is generated by the operator policy controller. Include the name, namespace, and any `spec` fields for the operator group. By default, if the `operatorGroup` field is not specified, and no OperatorGroup already exists in the namespace, then the controller generates an `AllNamespaces` type `OperatorGroup` in the same namespace as the subscription, if supported. + + For more info, see `kubectl explain operatorgroups.spec` or view https://olm.operatorframework.io/docs/concepts/crds/operatorgroup/. type: object x-kubernetes-preserve-unknown-fields: true remediationAction: @@ -160,7 +162,9 @@ spec: type: string subscription: description: >- - Subscription specifies which operator `Subscription` resource to inspect. Include the namespace, and any `spec` fields for the Subscription. For more info, see `kubectl explain subscriptions.operators.coreos.com.spec` or view https://olm.operatorframework.io/docs/concepts/crds/subscription/. + Subscription specifies which operator `Subscription` resource to inspect. Include the namespace, and any `spec` fields for the Subscription. + + For more info, see `kubectl explain subscriptions.operators.coreos.com.spec` or view https://olm.operatorframework.io/docs/concepts/crds/subscription/. type: object x-kubernetes-preserve-unknown-fields: true upgradeApproval: