-
Notifications
You must be signed in to change notification settings - Fork 22
/
policy.open-cluster-management.io_policysets.yaml
115 lines (115 loc) · 4.51 KB
/
policy.open-cluster-management.io_policysets.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: policysets.policy.open-cluster-management.io
spec:
group: policy.open-cluster-management.io
names:
kind: PolicySet
listKind: PolicySetList
plural: policysets
shortNames:
- plcset
singular: policyset
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.compliant
name: Compliance state
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1beta1
schema:
openAPIV3Schema:
description: |-
PolicySet is the schema for the policysets API. A policy set is a logical grouping of policies
from the same namespace. The policy set is bound to a placement resource and applies the
placement to all policies within the set. The status reports the overall compliance of the set.
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: PolicySetSpec defines the group of policies to be included
in the policy set.
properties:
description:
description: Description is the description of this policy set.
type: string
policies:
description: Policies is a list of policy names that are contained
within the policy set.
items:
minLength: 1
type: string
type: array
required:
- policies
type: object
status:
description: PolicySetStatus reports the observed status of the policy
set resulting from its policies.
properties:
compliant:
description: Compliant reports the observed status resulting from
the compliance of the policies within.
enum:
- Compliant
- Pending
- NonCompliant
type: string
placement:
items:
description: |-
PolicySetStatusPlacement reports how and what managed cluster placement resources are attached to
the policy set.
properties:
placement:
description: |-
Placement is the name of the Placement resource, from the cluster.open-cluster-management.io
API group, that is bound to the policy.
type: string
placementBinding:
description: |-
PlacementBinding is the name of the PlacementBinding resource, from the
policies.open-cluster-management.io API group, that binds the placement resource to the policy
set.
type: string
placementRule:
description: |-
PlacementRule (deprecated) is the name of the PlacementRule resource, from the
apps.open-cluster-management.io API group, that is bound to the policy.
type: string
type: object
type: array
statusMessage:
description: StatusMessge reports the current state while determining
the compliance of the policy set.
type: string
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}