You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/addon/configpolicy/manifests/managedclusterchart/templates/policy.open-cluster-management.io_operatorpolicies_crd.yaml
+35Lines changed: 35 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,41 @@ spec:
45
45
spec:
46
46
description: OperatorPolicySpec defines the desired state of OperatorPolicy
47
47
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
48
83
complianceType:
49
84
description: ComplianceType describes whether we must or must not have a given resource
0 commit comments