-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrd.repository.yaml
49 lines (49 loc) · 1.1 KB
/
crd.repository.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
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: repositories.gitea.intern
spec:
group: gitea.intern
names:
kind: Repository
plural: repositories
singular: repository
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:
name:
type: string
organization:
type: string
required:
- name
- organization
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: {}