@@ -160,6 +160,11 @@ policyDefaults:
160160 # the responsibility of the administrator to ensure the placement rule exists. Use of this setting will prevent a
161161 # placement rule from being generated, but the placement binding will still be created.
162162 placementRuleName : " "
163+ # Optional. recreateOption describes whether to delete and recreate an object when an update is required. `IfRequired`
164+ # will recreate the object when updating an immutable field. `Always` will always recreate the object if a mismatch
165+ # is detected. `RecreateOption` has no effect when the `remediationAction` is `inform`. `IfRequired` has no effect
166+ # on clusters without dry run update support. The default value is `None`.
167+ recreateOption : " "
163168 # Optional. Whether (and where) to record the diff between the policy and objects on the cluster. Defaults to an empty
164169 # string, which is equivalent to "None".
165170 recordDiff : " "
@@ -244,6 +249,8 @@ policies:
244249 # Optional. (See policyDefaults.remediationAction for description.)
245250 # Cannot be specified when policyDefaults.consolidateManifests is set to true.
246251 remediationAction : " "
252+ # Optional. (See policyDefaults.recreateOption for description.)
253+ recreateOption : " "
247254 # Optional. (See policyDefaults.recordDiff for description.)
248255 recordDiff : " "
249256 # Optional. (See policyDefaults.severity for description.)
@@ -316,6 +323,8 @@ policies:
316323 placement : {}
317324 # Optional. (See policyDefaults.remediationAction for description.)
318325 remediationAction : " "
326+ # Optional. (See policyDefaults.recreateOption for description.)
327+ recreateOption : " "
319328 # Optional. (See policyDefaults.recordDiff for description.)
320329 recordDiff : " "
321330 # Optional. (See policyDefaults.severity for description.)
0 commit comments