Skip to content
This repository was archived by the owner on Mar 24, 2023. It is now read-only.

Commit 63fa234

Browse files
author
suhouzhen
committed
Compatible version V1
1 parent f211bf3 commit 63fa234

14 files changed

+3868
-1406
lines changed

clickhouse-operator/templates/clickhouse-operator-install.yaml renamed to clickhouse-operator-install-v1beta1.yml

Lines changed: 184 additions & 116 deletions
Large diffs are not rendered by default.

clickhouse-operator-install.yml

Lines changed: 1344 additions & 1279 deletions
Large diffs are not rendered by default.
Lines changed: 234 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,234 @@
1+
{{- define "clickhouseinstallations.additionalPrinterColumnsV1Beta1" }}
2+
additionalPrinterColumns:
3+
- name: version
4+
type: string
5+
description: Operator version
6+
priority: 1 # show in wide view
7+
JSONPath: .status.version
8+
- name: clusters
9+
type: integer
10+
description: Clusters count
11+
priority: 0 # show in standard view
12+
JSONPath: .status.clusters
13+
- name: shards
14+
type: integer
15+
description: Shards count
16+
priority: 1 # show in wide view
17+
JSONPath: .status.shards
18+
- name: hosts
19+
type: integer
20+
description: Hosts count
21+
priority: 0 # show in standard view
22+
JSONPath: .status.hosts
23+
- name: status
24+
type: string
25+
description: CHI status
26+
priority: 0 # show in standard view
27+
JSONPath: .status.status
28+
- name: updated
29+
type: integer
30+
description: Updated hosts count
31+
priority: 1 # show in wide view
32+
JSONPath: .status.updated
33+
- name: added
34+
type: integer
35+
description: Added hosts count
36+
priority: 1 # show in wide view
37+
JSONPath: .status.added
38+
- name: deleted
39+
type: integer
40+
description: Hosts deleted count
41+
priority: 1 # show in wide view
42+
JSONPath: .status.deleted
43+
- name: delete
44+
type: integer
45+
description: Hosts to be deleted count
46+
priority: 1 # show in wide view
47+
JSONPath: .status.delete
48+
- name: endpoint
49+
type: string
50+
description: Client access endpoint
51+
priority: 1 # show in wide view
52+
JSONPath: .status.endpoint
53+
{{- end }}
54+
55+
{{- define "clickhouseinstallations.additionalPrinterColumnsV1" }}
56+
additionalPrinterColumns:
57+
- name: version
58+
type: string
59+
description: Operator version
60+
priority: 1 # show in wide view
61+
jsonPath: .status.version
62+
- name: clusters
63+
type: integer
64+
description: Clusters count
65+
priority: 0 # show in standard view
66+
jsonPath: .status.clusters
67+
- name: shards
68+
type: integer
69+
description: Shards count
70+
priority: 1 # show in wide view
71+
jsonPath: .status.shards
72+
- name: hosts
73+
type: integer
74+
description: Hosts count
75+
priority: 0 # show in standard view
76+
jsonPath: .status.hosts
77+
- name: status
78+
type: string
79+
description: CHI status
80+
priority: 0 # show in standard view
81+
jsonPath: .status.status
82+
- name: updated
83+
type: integer
84+
description: Updated hosts count
85+
priority: 1 # show in wide view
86+
jsonPath: .status.updated
87+
- name: added
88+
type: integer
89+
description: Added hosts count
90+
priority: 1 # show in wide view
91+
jsonPath: .status.added
92+
- name: deleted
93+
type: integer
94+
description: Hosts deleted count
95+
priority: 1 # show in wide view
96+
jsonPath: .status.deleted
97+
- name: delete
98+
type: integer
99+
description: Hosts to be deleted count
100+
priority: 1 # show in wide view
101+
jsonPath: .status.delete
102+
- name: endpoint
103+
type: string
104+
description: Client access endpoint
105+
priority: 1 # show in wide view
106+
jsonPath: .status.endpoint
107+
{{- end }}
108+
109+
{{- define "clickhouseinstallationtemplates.additionalPrinterColumnsV1Beta1" }}
110+
additionalPrinterColumns:
111+
- name: version
112+
type: string
113+
description: Operator version
114+
priority: 1 # show in wide view
115+
JSONPath: .status.version
116+
- name: clusters
117+
type: integer
118+
description: Clusters count
119+
priority: 0 # show in standard view
120+
JSONPath: .status.clusters
121+
- name: shards
122+
type: integer
123+
description: Shards count
124+
priority: 1 # show in wide view
125+
JSONPath: .status.shards
126+
- name: hosts
127+
type: integer
128+
description: Hosts count
129+
priority: 0 # show in standard view
130+
JSONPath: .status.hosts
131+
- name: status
132+
type: string
133+
description: CHI status
134+
priority: 0 # show in standard view
135+
JSONPath: .status.status
136+
- name: updated
137+
type: integer
138+
description: Updated hosts count
139+
priority: 1 # show in wide view
140+
JSONPath: .status.updated
141+
- name: added
142+
type: integer
143+
description: Added hosts count
144+
priority: 1 # show in wide view
145+
JSONPath: .status.added
146+
- name: deleted
147+
type: integer
148+
description: Hosts deleted count
149+
priority: 1 # show in wide view
150+
JSONPath: .status.deleted
151+
- name: delete
152+
type: integer
153+
description: Hosts to be deleted count
154+
priority: 1 # show in wide view
155+
JSONPath: .status.delete
156+
- name: endpoint
157+
type: string
158+
description: Client access endpoint
159+
priority: 1 # show in wide view
160+
JSONPath: .status.endpoint
161+
{{- end }}
162+
163+
{{- define "clickhouseinstallationtemplates.additionalPrinterColumnsV1" }}
164+
additionalPrinterColumns:
165+
- name: version
166+
type: string
167+
description: Operator version
168+
priority: 1 # show in wide view
169+
jsonPath: .status.version
170+
- name: clusters
171+
type: integer
172+
description: Clusters count
173+
priority: 0 # show in standard view
174+
jsonPath: .status.clusters
175+
- name: shards
176+
type: integer
177+
description: Shards count
178+
priority: 1 # show in wide view
179+
jsonPath: .status.shards
180+
- name: hosts
181+
type: integer
182+
description: Hosts count
183+
priority: 0 # show in standard view
184+
jsonPath: .status.hosts
185+
- name: status
186+
type: string
187+
description: CHI status
188+
priority: 0 # show in standard view
189+
jsonPath: .status.status
190+
- name: updated
191+
type: integer
192+
description: Updated hosts count
193+
priority: 1 # show in wide view
194+
jsonPath: .status.updated
195+
- name: added
196+
type: integer
197+
description: Added hosts count
198+
priority: 1 # show in wide view
199+
jsonPath: .status.added
200+
- name: deleted
201+
type: integer
202+
description: Hosts deleted count
203+
priority: 1 # show in wide view
204+
jsonPath: .status.deleted
205+
- name: delete
206+
type: integer
207+
description: Hosts to be deleted count
208+
priority: 1 # show in wide view
209+
jsonPath: .status.delete
210+
- name: endpoint
211+
type: string
212+
description: Client access endpoint
213+
priority: 1 # show in wide view
214+
jsonPath: .status.endpoint
215+
{{- end }}
216+
217+
218+
{{- define "clickhouseoperatorconfigurations.additionalPrinterColumnsV1Beta1" }}
219+
additionalPrinterColumns:
220+
- name: namespaces
221+
type: string
222+
description: Watch namespaces
223+
priority: 0 # show in standard view
224+
JSONPath: .status
225+
{{- end }}
226+
227+
{{- define "clickhouseoperatorconfigurations.additionalPrinterColumnsV1" }}
228+
additionalPrinterColumns:
229+
- name: namespaces
230+
type: string
231+
description: Watch namespaces
232+
priority: 0 # show in standard view
233+
jsonPath: .status
234+
{{- end }}

0 commit comments

Comments
 (0)