Skip to content

Commit 5703472

Browse files
committed
adding crds
1 parent 80835d3 commit 5703472

3 files changed

+989
-0
lines changed
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.9.2
6+
creationTimestamp: null
7+
name: quotasubtrees.quota.codeflare.dev
8+
spec:
9+
group: quota.codeflare.dev
10+
names:
11+
kind: QuotaSubtree
12+
listKind: QuotaSubtreeList
13+
plural: quotasubtrees
14+
singular: quotasubtree
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: QuotaSubtree is a specification for a quota subtree resource
21+
properties:
22+
apiVersion:
23+
description: 'APIVersion defines the versioned schema of this representation
24+
of an object. Servers should convert recognized schemas to the latest
25+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
26+
type: string
27+
kind:
28+
description: 'Kind is a string value representing the REST resource this
29+
object represents. Servers may infer this from the endpoint the client
30+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
31+
type: string
32+
metadata:
33+
type: object
34+
spec:
35+
description: QuotaSubtreeSpec is the spec for a resource plan
36+
properties:
37+
children:
38+
items:
39+
description: Child is the spec for a QuotaSubtree resource
40+
properties:
41+
name:
42+
type: string
43+
namespace:
44+
type: string
45+
path:
46+
type: string
47+
quotas:
48+
description: Quota is the spec for a QuotaSubtree resource
49+
properties:
50+
disabled:
51+
type: boolean
52+
hardLimit:
53+
type: boolean
54+
requests:
55+
additionalProperties:
56+
anyOf:
57+
- type: integer
58+
- type: string
59+
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
60+
x-kubernetes-int-or-string: true
61+
type: object
62+
type: object
63+
type: object
64+
type: array
65+
parent:
66+
type: string
67+
parentNamespace:
68+
type: string
69+
type: object
70+
status:
71+
description: QuotaSubtreeStatus is the status for a QuotaSubtree resource
72+
properties:
73+
children:
74+
items:
75+
description: ResourceAllocation is the spec for the child status
76+
properties:
77+
allocated:
78+
description: ResourceAllocationStatus is the spec for the child
79+
resource usage
80+
properties:
81+
requests:
82+
additionalProperties:
83+
type: string
84+
type: object
85+
type: object
86+
name:
87+
type: string
88+
namespace:
89+
type: string
90+
path:
91+
type: string
92+
type: object
93+
type: array
94+
totalAllocation:
95+
description: ResourceAllocation is the spec for the child status
96+
properties:
97+
allocated:
98+
description: ResourceAllocationStatus is the spec for the child
99+
resource usage
100+
properties:
101+
requests:
102+
additionalProperties:
103+
type: string
104+
type: object
105+
type: object
106+
name:
107+
type: string
108+
namespace:
109+
type: string
110+
path:
111+
type: string
112+
type: object
113+
required:
114+
- children
115+
- totalAllocation
116+
type: object
117+
required:
118+
- spec
119+
type: object
120+
served: true
121+
storage: true
122+
---

0 commit comments

Comments
 (0)