Skip to content

Commit bc0753a

Browse files
mprahlopenshift-merge-bot[bot]
authored andcommitted
Update the recordDiff description
Signed-off-by: mprahl <[email protected]>
1 parent d8a6540 commit bc0753a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/policygenerator-reference.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,12 @@ policyDefaults:
165165
# is detected. `RecreateOption` has no effect when the `remediationAction` is `inform`. `IfRequired` has no effect
166166
# on clusters without dry run update support. The default value is `None`.
167167
recreateOption: ""
168-
# Optional. Whether (and where) to record the diff between the policy and objects on the cluster. Defaults to an empty
169-
# string, which is equivalent to "None".
168+
# Optional. recordDiff specifies whether and where to log the difference between the object on the cluster
169+
# and the `objectDefinition` parameter in the policy. The supported options are `InStatus` to record the
170+
# difference in the policy status field, `Log` to log the difference in the `config-policy-controller` pod, and
171+
# `None` to not log the difference. The default value is `None` for object kinds that include sensitive data such as
172+
# `ConfigMap`, `OAuthAccessToken`, `OAuthAuthorizeTokens`, `Route`, and `Secret`, or when a templated
173+
# `objectDefinition` references sensitive data. For all other kinds, the default value is `InStatus`.
170174
recordDiff: ""
171175
# Optional. The remediation action ("inform" or "enforce") for each configuration policy. This defaults to "inform".
172176
remediationAction: "inform"

0 commit comments

Comments
 (0)