Skip to content

Commit 555969c

Browse files
committed
feat: Add Sandbox CRD
Define the Sandbox custom resource definition. This CRD is necessary for the sandbox controller to operate and manage sandbox environments. Signed-off-by: Aleksandr Ponimaskin <[email protected]>
1 parent c61104f commit 555969c

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
name: sandboxes.zalando.org
5+
spec:
6+
group: zalando.org
7+
names:
8+
kind: Sandbox
9+
plural: sandboxes
10+
singular: sandbox
11+
shortNames:
12+
- sb
13+
scope: Namespaced
14+
versions:
15+
- name: v1
16+
served: true
17+
storage: true
18+
schema:
19+
openAPIV3Schema:
20+
type: object
21+
properties:
22+
spec:
23+
type: object
24+
required:
25+
- testContext
26+
- sourceHosts
27+
- target
28+
properties:
29+
testContext:
30+
type: string
31+
sourceHosts:
32+
type: array
33+
items:
34+
type: string
35+
target:
36+
type: string

0 commit comments

Comments
 (0)