From 37fdaa7dce965044198a40978ee8584ab3ce580c Mon Sep 17 00:00:00 2001 From: mprahl Date: Fri, 21 Jun 2024 11:03:47 -0400 Subject: [PATCH] Sync the ConfigurationPolicy CRD Signed-off-by: mprahl --- ...anagement.io_configurationpolicies_crd.yaml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/pkg/addon/configpolicy/manifests/managedclusterchart/templates/policy.open-cluster-management.io_configurationpolicies_crd.yaml b/pkg/addon/configpolicy/manifests/managedclusterchart/templates/policy.open-cluster-management.io_configurationpolicies_crd.yaml index 7cebdd61..e630c4c4 100644 --- a/pkg/addon/configpolicy/manifests/managedclusterchart/templates/policy.open-cluster-management.io_configurationpolicies_crd.yaml +++ b/pkg/addon/configpolicy/manifests/managedclusterchart/templates/policy.open-cluster-management.io_configurationpolicies_crd.yaml @@ -193,10 +193,11 @@ spec: type: string recreateOption: description: |- - RecreateOption describes whether to delete and recreate an object when an update is required. `IfRequired` - will recreate the object when updating an immutable field. `Always` will always recreate the object if a mismatch - is detected. `RecreateOption` has no effect when the `remediationAction` is `inform`. `IfRequired` has no effect - on clusters without dry run update support. The default value is `None`. + RecreateOption describes when to delete and recreate an object when an update is required. When you set the + object to `IfRequired`, the policy recreates the object when updating an immutable field. When you set the + parameter to `Always`, the policy recreates the object on any update. When you set the `remediationAction` to + `inform`, the parameter value, `recreateOption`, has no effect on the object. The `IfRequired` value has no + effect on clusters without dry-run update support. The default value is `None`. enum: - None - IfRequired @@ -583,10 +584,11 @@ spec: recreateOption: default: None description: |- - RecreateOption describes whether to delete and recreate an object when an update is required. `IfRequired` - will recreate the object when updating an immutable field. `Always` will always recreate the object if a mismatch - is detected. `RecreateOption` has no effect when the `remediationAction` is `inform`. `IfRequired` has no effect - on clusters without dry run update support. The default value is `None`. + RecreateOption describes when to delete and recreate an object when an update is required. When you set the + object to `IfRequired`, the policy recreates the object when updating an immutable field. When you set the + parameter to `Always`, the policy recreates the object on any update. When you set the `remediationAction` to + `inform`, the parameter value, `recreateOption`, has no effect on the object. The `IfRequired` value has no + effect on clusters without dry-run update support. The default value is `None`. enum: - None - IfRequired