Skip to content

Commit f1b3ed7

Browse files
committed
Add postgres crds to charts
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent 84217f2 commit f1b3ed7

4 files changed

Lines changed: 758 additions & 0 deletions

File tree

Lines changed: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
creationTimestamp: null
5+
labels:
6+
app.kubernetes.io/name: kubedb
7+
name: publishers.postgres.kubedb.com
8+
spec:
9+
group: postgres.kubedb.com
10+
names:
11+
categories:
12+
- datastore
13+
- kubedb
14+
- appscode
15+
- all
16+
kind: Publisher
17+
listKind: PublisherList
18+
plural: publishers
19+
shortNames:
20+
- pub
21+
singular: publisher
22+
scope: Namespaced
23+
versions:
24+
- additionalPrinterColumns:
25+
- jsonPath: .status.phase
26+
name: Status
27+
type: string
28+
- jsonPath: .metadata.creationTimestamp
29+
name: Age
30+
type: date
31+
name: v1alpha1
32+
schema:
33+
openAPIV3Schema:
34+
properties:
35+
apiVersion:
36+
type: string
37+
kind:
38+
type: string
39+
metadata:
40+
type: object
41+
spec:
42+
properties:
43+
allowedSubscribers:
44+
default:
45+
namespaces:
46+
from: Same
47+
properties:
48+
namespaces:
49+
default:
50+
from: Same
51+
properties:
52+
from:
53+
default: Same
54+
enum:
55+
- All
56+
- Selector
57+
- Same
58+
type: string
59+
selector:
60+
properties:
61+
matchExpressions:
62+
items:
63+
properties:
64+
key:
65+
type: string
66+
operator:
67+
type: string
68+
values:
69+
items:
70+
type: string
71+
type: array
72+
required:
73+
- key
74+
- operator
75+
type: object
76+
type: array
77+
matchLabels:
78+
additionalProperties:
79+
type: string
80+
type: object
81+
type: object
82+
x-kubernetes-map-type: atomic
83+
type: object
84+
selector:
85+
properties:
86+
matchExpressions:
87+
items:
88+
properties:
89+
key:
90+
type: string
91+
operator:
92+
type: string
93+
values:
94+
items:
95+
type: string
96+
type: array
97+
required:
98+
- key
99+
- operator
100+
type: object
101+
type: array
102+
matchLabels:
103+
additionalProperties:
104+
type: string
105+
type: object
106+
type: object
107+
x-kubernetes-map-type: atomic
108+
type: object
109+
databaseName:
110+
type: string
111+
deletionPolicy:
112+
default: Delete
113+
enum:
114+
- Delete
115+
- Retain
116+
type: string
117+
disable:
118+
type: boolean
119+
name:
120+
type: string
121+
parameters:
122+
properties:
123+
operations:
124+
items:
125+
enum:
126+
- insert
127+
- update
128+
- delete
129+
- truncate
130+
type: string
131+
type: array
132+
publishViaPartitionRoot:
133+
type: boolean
134+
type: object
135+
publishAllTables:
136+
type: boolean
137+
serverRef:
138+
properties:
139+
name:
140+
type: string
141+
type: object
142+
x-kubernetes-map-type: atomic
143+
tables:
144+
items:
145+
type: string
146+
type: array
147+
required:
148+
- databaseName
149+
- name
150+
- serverRef
151+
type: object
152+
status:
153+
properties:
154+
conditions:
155+
items:
156+
properties:
157+
lastTransitionTime:
158+
format: date-time
159+
type: string
160+
message:
161+
type: string
162+
observedGeneration:
163+
format: int64
164+
type: integer
165+
reason:
166+
type: string
167+
status:
168+
type: string
169+
type:
170+
type: string
171+
required:
172+
- lastTransitionTime
173+
- message
174+
- reason
175+
- status
176+
- type
177+
type: object
178+
type: array
179+
observedGeneration:
180+
format: int64
181+
type: integer
182+
phase:
183+
enum:
184+
- Pending
185+
- InProgress
186+
- Current
187+
- Failed
188+
type: string
189+
subscribers:
190+
items:
191+
properties:
192+
name:
193+
type: string
194+
namespace:
195+
type: string
196+
required:
197+
- name
198+
type: object
199+
type: array
200+
type: object
201+
type: object
202+
served: true
203+
storage: true
204+
subresources:
205+
status: {}
Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
creationTimestamp: null
5+
labels:
6+
app.kubernetes.io/name: kubedb
7+
name: subscribers.postgres.kubedb.com
8+
spec:
9+
group: postgres.kubedb.com
10+
names:
11+
categories:
12+
- datastore
13+
- kubedb
14+
- appscode
15+
- all
16+
kind: Subscriber
17+
listKind: SubscriberList
18+
plural: subscribers
19+
shortNames:
20+
- sub
21+
singular: subscriber
22+
scope: Namespaced
23+
versions:
24+
- additionalPrinterColumns:
25+
- jsonPath: .status.phase
26+
name: Status
27+
type: string
28+
- jsonPath: .metadata.creationTimestamp
29+
name: Age
30+
type: date
31+
name: v1alpha1
32+
schema:
33+
openAPIV3Schema:
34+
properties:
35+
apiVersion:
36+
type: string
37+
kind:
38+
type: string
39+
metadata:
40+
type: object
41+
spec:
42+
properties:
43+
databaseName:
44+
type: string
45+
deletionPolicy:
46+
default: Delete
47+
enum:
48+
- Delete
49+
- Retain
50+
type: string
51+
disable:
52+
type: boolean
53+
name:
54+
type: string
55+
parameters:
56+
properties:
57+
binary:
58+
type: boolean
59+
connect:
60+
type: boolean
61+
copyData:
62+
type: boolean
63+
createSlot:
64+
type: boolean
65+
enabled:
66+
type: boolean
67+
slotName:
68+
type: string
69+
streaming:
70+
type: boolean
71+
synchronousCommit:
72+
type: string
73+
tableCreationPolicy:
74+
type: string
75+
type: object
76+
publisher:
77+
properties:
78+
external:
79+
properties:
80+
databaseName:
81+
type: string
82+
publications:
83+
items:
84+
type: string
85+
type: array
86+
serverRef:
87+
properties:
88+
name:
89+
type: string
90+
namespace:
91+
type: string
92+
required:
93+
- name
94+
type: object
95+
required:
96+
- databaseName
97+
- publications
98+
- serverRef
99+
type: object
100+
managed:
101+
properties:
102+
namespace:
103+
type: string
104+
refs:
105+
items:
106+
properties:
107+
name:
108+
type: string
109+
type: object
110+
x-kubernetes-map-type: atomic
111+
type: array
112+
required:
113+
- refs
114+
type: object
115+
type: object
116+
serverRef:
117+
properties:
118+
name:
119+
type: string
120+
type: object
121+
x-kubernetes-map-type: atomic
122+
required:
123+
- databaseName
124+
- name
125+
- publisher
126+
- serverRef
127+
type: object
128+
status:
129+
properties:
130+
conditions:
131+
items:
132+
properties:
133+
lastTransitionTime:
134+
format: date-time
135+
type: string
136+
message:
137+
type: string
138+
observedGeneration:
139+
format: int64
140+
type: integer
141+
reason:
142+
type: string
143+
status:
144+
type: string
145+
type:
146+
type: string
147+
required:
148+
- lastTransitionTime
149+
- message
150+
- reason
151+
- status
152+
- type
153+
type: object
154+
type: array
155+
observedGeneration:
156+
format: int64
157+
type: integer
158+
phase:
159+
enum:
160+
- Pending
161+
- InProgress
162+
- Current
163+
- Failed
164+
type: string
165+
type: object
166+
type: object
167+
served: true
168+
storage: true
169+
subresources:
170+
status: {}

0 commit comments

Comments
 (0)