-
Notifications
You must be signed in to change notification settings - Fork 134
/
Copy pathapp-database-resource.yaml
44 lines (44 loc) · 1.02 KB
/
app-database-resource.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
apiVersion: apiextensions.crossplane.io/v1
kind: CompositeResourceDefinition
metadata:
name: databases.salaboy.com
spec:
group: salaboy.com
names:
kind: Database
plural: databases
shortNames:
- "db"
- "dbs"
versions:
- additionalPrinterColumns:
- jsonPath: .spec.parameters.size
name: SIZE
type: string
- jsonPath: .spec.parameters.mockData
name: MOCKDATA
type: boolean
- jsonPath: .spec.compositionSelector.matchLabels.kind
name: KIND
type: string
name: v1alpha1
served: true
referenceable: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
parameters:
type: object
properties:
size:
type: string
mockData:
type: boolean
required:
- size
required:
- parameters