kubelatte-ce

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

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.