forked from kube-rs/controller-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrd.yaml
52 lines (52 loc) · 1.27 KB
/
crd.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
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: documents.kube.rs
spec:
group: kube.rs
names:
categories: []
kind: Document
plural: documents
shortNames:
- doc
singular: document
scope: Namespaced
versions:
- additionalPrinterColumns: []
name: v1
schema:
openAPIV3Schema:
description: "Auto-generated derived type for DocumentSpec via `CustomResource`"
properties:
spec:
description: Our document properties that will be wrapped in a Kubernetes resource as a Spec struct
properties:
content:
type: string
hide:
type: boolean
title:
type: string
required:
- content
- hide
- title
type: object
status:
nullable: true
properties:
hidden:
type: boolean
required:
- hidden
type: object
required:
- spec
title: Document
type: object
served: true
storage: true
subresources:
status: {}