kubelatte-ce
Форк от sbertech/kubelatte-ce
298 строк · 11.2 Кб
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5annotations:
6controller-gen.kubebuilder.io/version: v0.8.0
7creationTimestamp: null
8name: scopes.kubelatte.io
9spec:
10group: kubelatte.io
11names:
12kind: Scope
13listKind: ScopeList
14plural: scopes
15singular: scope
16scope: Namespaced
17versions:
18- name: v1alpha1
19schema:
20openAPIV3Schema:
21description: Scope is the Schema for the Scopes API
22properties:
23apiVersion:
24description: 'APIVersion defines the versioned schema of this representation
25of an object. Servers should convert recognized schemas to the latest
26internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
27type: string
28kind:
29description: 'Kind is a string value representing the REST resource this
30object represents. Servers may infer this from the endpoint the client
31submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
32type: string
33metadata:
34type: object
35spec:
36properties:
37items:
38items:
39description: Item ScopeItems defines items of Scope
40properties:
41match:
42properties:
43annotationSelector:
44properties:
45matchExpressions:
46items:
47properties:
48key:
49type: string
50operator:
51enum:
52- In
53- NotIn
54- Exists
55- DoesNotExist
56type: string
57values:
58items:
59type: string
60type: array
61required:
62- key
63- operator
64type: object
65type: array
66required:
67- matchExpressions
68type: object
69excludedNamespaces:
70properties:
71regex:
72items:
73type: string
74type: array
75values:
76items:
77type: string
78type: array
79type: object
80kinds:
81items:
82properties:
83apiGroups:
84items:
85type: string
86type: array
87kinds:
88items:
89type: string
90type: array
91type: object
92type: array
93labelSelector:
94properties:
95matchExpressions:
96items:
97properties:
98key:
99type: string
100operator:
101enum:
102- In
103- NotIn
104- Exists
105- DoesNotExist
106type: string
107values:
108items:
109type: string
110type: array
111required:
112- key
113- operator
114type: object
115type: array
116required:
117- matchExpressions
118type: object
119matchConditions:
120properties:
121object:
122items:
123properties:
124condition:
125enum:
126- MustExist
127- MustNotExist
128type: string
129path:
130type: string
131required:
132- condition
133- path
134type: object
135type: array
136oldObject:
137items:
138properties:
139condition:
140enum:
141- MustExist
142- MustNotExist
143type: string
144path:
145type: string
146required:
147- condition
148- path
149type: object
150type: array
151type: object
152name:
153properties:
154regex:
155type: string
156value:
157type: string
158type: object
159namespaceSelector:
160properties:
161matchExpressions:
162items:
163properties:
164key:
165type: string
166operator:
167enum:
168- In
169- NotIn
170- Exists
171- DoesNotExist
172type: string
173values:
174items:
175type: string
176type: array
177required:
178- key
179- operator
180type: object
181type: array
182required:
183- matchExpressions
184type: object
185namespaces:
186properties:
187regex:
188items:
189type: string
190type: array
191values:
192items:
193type: string
194type: array
195type: object
196operations:
197items:
198type: string
199type: array
200scope:
201enum:
202- '*'
203- Cluster
204- Namespaced
205type: string
206userInfo:
207properties:
208username:
209type: string
210usernameRegex:
211type: string
212type: object
213required:
214- kinds
215type: object
216name:
217type: string
218rule:
219properties:
220rego:
221properties:
222parameters:
223type: string
224template:
225type: string
226required:
227- template
228type: object
229simples:
230items:
231properties:
232action:
233default: deny
234enum:
235- allow
236- deny
237type: string
238message:
239type: string
240name:
241type: string
242path:
243type: string
244value:
245type: string
246required:
247- name
248- path
249- value
250type: object
251type: array
252type: object
253required:
254- name
255type: object
256type: array
257type:
258default: mutation
259type: string
260required:
261- items
262type: object
263status:
264properties:
265conditions:
266items:
267properties:
268lastTransitionTime:
269format: date-time
270type: string
271message:
272type: string
273status:
274type: string
275type:
276type: string
277required:
278- status
279- type
280type: object
281type: array
282phase:
283description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
284of cluster Important: Run "make" to regenerate code after modifying
285this file'
286type: string
287type: object
288type: object
289served: true
290storage: true
291subresources:
292status: {}
293status:
294acceptedNames:
295kind: ""
296plural: ""
297conditions: []
298storedVersions: []
299