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 12203125..93d66713 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 @@ -128,6 +128,12 @@ spec: description: ObjectDefinition defines required fields for the object type: object x-kubernetes-preserve-unknown-fields: true + recordDiff: + description: RecordDiff specifies whether (and where) to log the diff between the object on the cluster and the objectDefinition in the policy. Defaults to "None". + enum: + - Log + - None + type: string required: - complianceType - objectDefinition @@ -406,6 +412,12 @@ spec: description: ObjectDefinition defines required fields for the object type: object x-kubernetes-preserve-unknown-fields: true + recordDiff: + description: RecordDiff specifies whether (and where) to log the diff between the object on the cluster and the objectDefinition in the policy. Defaults to "None". + enum: + - Log + - None + type: string required: - complianceType - objectDefinition