-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathappstudio.redhat.com_enterprisecontractpolicies.yaml
More file actions
180 lines (180 loc) · 8.9 KB
/
Copy pathappstudio.redhat.com_enterprisecontractpolicies.yaml
File metadata and controls
180 lines (180 loc) · 8.9 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations: {}
name: enterprisecontractpolicies.appstudio.redhat.com
spec:
group: appstudio.redhat.com
names:
categories:
- all
kind: EnterpriseContractPolicy
listKind: EnterpriseContractPolicyList
plural: enterprisecontractpolicies
shortNames:
- ecp
singular: enterprisecontractpolicy
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: EnterpriseContractPolicy is the Schema for the enterprisecontractpolicies API
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: EnterpriseContractPolicySpec is used to configure the Enterprise Contract Policy
properties:
configuration:
description: Configuration handles policy modification configuration (exclusions and inclusions)
properties:
collections:
description: 'Collections set of predefined rules. DEPRECATED: Collections can be listed in include with the "@" prefix.'
items:
type: string
type: array
x-kubernetes-list-type: set
exclude:
description: Exclude set of policy exclusions that, in case of failure, do not block the success of the outcome.
items:
type: string
type: array
x-kubernetes-list-type: set
include:
description: Include set of policy inclusions that are added to the policy evaluation. These override excluded rules.
items:
type: string
type: array
x-kubernetes-list-type: set
type: object
description:
description: Description of the policy or its intended use
type: string
identity:
description: Identity to be used for keyless verification. This is an experimental feature.
properties:
issuer:
description: Issuer is the URL of the certificate OIDC issuer for keyless verification.
type: string
issuerRegExp:
description: IssuerRegExp is a regular expression to match the URL of the certificate OIDC issuer for keyless verification.
type: string
subject:
description: Subject is the URL of the certificate identity for keyless verification.
type: string
subjectRegExp:
description: SubjectRegExp is a regular expression to match the URL of the certificate identity for keyless verification.
type: string
type: object
name:
description: Optional name of the policy
type: string
publicKey:
description: Public key used to validate the signature of images and attestations
type: string
rekorUrl:
description: URL of the Rekor instance. Empty string disables Rekor integration
type: string
sources:
description: One or more groups of policy rules
items:
description: Source defines policies and data that are evaluated together
properties:
config:
description: Config specifies which policy rules are included, or excluded, from the provided policy source urls.
properties:
exclude:
description: Exclude is a set of policy exclusions that, in case of failure, do not block the success of the outcome.
items:
type: string
type: array
x-kubernetes-list-type: set
include:
description: Include is a set of policy inclusions that are added to the policy evaluation. These take precedence over policy exclusions.
items:
type: string
type: array
x-kubernetes-list-type: set
type: object
data:
description: List of go-getter style policy data source urls
items:
type: string
type: array
name:
description: Optional name for the source
type: string
policy:
description: List of go-getter style policy source urls
items:
type: string
minItems: 1
type: array
ruleData:
description: Arbitrary rule data that will be visible to policy rules
type: object
x-kubernetes-preserve-unknown-fields: true
volatileConfig:
description: Specifies volatile configuration that can include or exclude policy rules based on effective time.
properties:
exclude:
description: Exclude is a set of policy exclusions that, in case of failure, do not block the success of the outcome.
items:
description: VolatileCriteria includes or excludes a policy rule with effective dates as an option.
properties:
effectiveOn:
format: date-time
type: string
effectiveUntil:
format: date-time
type: string
value:
type: string
required:
- value
type: object
type: array
x-kubernetes-list-map-keys:
- value
x-kubernetes-list-type: map
include:
description: Include is a set of policy inclusions that are added to the policy evaluation. These take precedence over policy exclusions.
items:
description: VolatileCriteria includes or excludes a policy rule with effective dates as an option.
properties:
effectiveOn:
format: date-time
type: string
effectiveUntil:
format: date-time
type: string
value:
type: string
required:
- value
type: object
type: array
x-kubernetes-list-map-keys:
- value
x-kubernetes-list-type: map
type: object
type: object
minItems: 1
type: array
type: object
status:
description: EnterpriseContractPolicyStatus defines the observed state of EnterpriseContractPolicy
type: object
type: object
served: true
storage: true
subresources:
status: {}