Skip to content

Commit c161e08

Browse files
dhaiducekopenshift-merge-bot[bot]
authored andcommitted
Sync CRDs
Signed-off-by: Dale Haiducek <[email protected]>
1 parent 428213d commit c161e08

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

pkg/addon/configpolicy/manifests/managedclusterchart/templates/policy.open-cluster-management.io_operatorpolicies_crd.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,41 @@ spec:
4545
spec:
4646
description: OperatorPolicySpec defines the desired state of OperatorPolicy
4747
properties:
48+
complianceConfig:
49+
default: {}
50+
description: |-
51+
ComplianceConfig defines how resource statuses affect the OperatorPolicy status and compliance.
52+
When set to Compliant, the condition does not impact the OperatorPolicy compliance.
53+
When set to NonCompliant, the condition causes the OperatorPolicy to become NonCompliant.
54+
properties:
55+
catalogSourceUnhealthy:
56+
default: Compliant
57+
description: |-
58+
Specifies how the CatalogSourceUnhealthy typed condition should affect
59+
overall policy compliance. Defaults to 'Compliant'
60+
enum:
61+
- Compliant
62+
- NonCompliant
63+
type: string
64+
deploymentsUnavailable:
65+
default: NonCompliant
66+
description: |-
67+
Specifies how the DeploymentCompliant typed condition should affect
68+
overall policy compliance. Defaults to 'NonCompliant'
69+
enum:
70+
- Compliant
71+
- NonCompliant
72+
type: string
73+
upgradesAvailable:
74+
default: Compliant
75+
description: |-
76+
Specifies how the InstallPlanCompliant typed condition should affect
77+
overall policy compliance. Defaults to 'Compliant'
78+
enum:
79+
- Compliant
80+
- NonCompliant
81+
type: string
82+
type: object
4883
complianceType:
4984
description: ComplianceType describes whether we must or must not have a given resource
5085
enum:

0 commit comments

Comments
 (0)