-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrd.token.yaml
55 lines (54 loc) · 1.19 KB
/
crd.token.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
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: tokens.gitea.intern
spec:
group: gitea.intern
names:
kind: Token
plural: tokens
singular: token
scope: Namespaced
versions:
- name: v1
additionalPrinterColumns:
- jsonPath: .status.state
name: State
type: string
- jsonPath: .status.message
name: Message
type: string
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
username:
type: string
name:
type: string
scopes:
type: array
items:
type: string
required:
- name
- username
- scopes
status:
type: object
properties:
state:
type: string
message:
type: string
x-kubernetes-preserve-unknown-fields: true
required:
- spec
x-kubernetes-preserve-unknown-fields: true
subresources:
status: {}