Skip to content

Commit 66ec7d9

Browse files
dhaiducekopenshift-merge-robot
authored andcommitted
Sync copyPolicyMetadata to CRD
ref: https://issues.redhat.com/browse/ACM-1690 Signed-off-by: Dale Haiducek <[email protected]>
1 parent 1eb607e commit 66ec7d9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/addon/policyframework/manifests/managedclusterchart/templates/policy.open-cluster-management.io_policies_crd.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ spec:
4949
spec:
5050
description: PolicySpec defines the desired state of Policy
5151
properties:
52+
copyPolicyMetadata:
53+
description: If set to true (default), all the policy's labels and annotations will be copied to the replicated policy. If set to false, only the policy framework specific policy labels and annotations will be copied to the replicated policy.
54+
type: boolean
5255
dependencies:
5356
description: PolicyDependencies that apply to each template in this Policy
5457
items:
@@ -275,6 +278,9 @@ spec:
275278
spec:
276279
description: PolicySpec defines the desired state of Policy
277280
properties:
281+
copyPolicyMetadata:
282+
description: If set to true (default), all the policy's labels and annotations will be copied to the replicated policy. If set to false, only the policy framework specific policy labels and annotations will be copied to the replicated policy.
283+
type: boolean
278284
dependencies:
279285
description: PolicyDependencies that apply to each template in this Policy
280286
items:

0 commit comments

Comments
 (0)