-
Notifications
You must be signed in to change notification settings - Fork 0
/
redis-crd.yaml
49 lines (49 loc) · 1.19 KB
/
redis-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
# redis-crd.yaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: redises.database.example.com
spec:
group: database.example.com
versions:
- name: v1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
masterSize:
type: integer
default: 1
slaveSize:
type: integer
default: 2
image:
type: string
default: "redis:latest"
backupEnabled:
type: boolean
default: false
backupSchedule:
type: string
persistentVolumeSize:
type: string
default: "1Gi"
status:
type: object
properties:
nodes:
type: array
items:
type: string
scope: Namespaced
names:
plural: redises
singular: redis
kind: Redis
shortNames:
- rd