Skip to content

Commit 930bc9a

Browse files
committed
Add Helm values schema
1 parent c1720a0 commit 930bc9a

File tree

2 files changed

+237
-1
lines changed

2 files changed

+237
-1
lines changed

pocketbase

pretix-helm/values.schema.json

Lines changed: 236 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,236 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"properties": {
4+
"cronSchedule": {
5+
"type": "string"
6+
},
7+
"env": {
8+
"properties": {
9+
"PRETIX_CELERY_BACKEND": {
10+
"type": "string"
11+
},
12+
"PRETIX_CELERY_BROKER": {
13+
"type": "string"
14+
},
15+
"PRETIX_DATABASE_BACKEND": {
16+
"type": "string"
17+
},
18+
"PRETIX_DATABASE_HOST": {
19+
"type": "string"
20+
},
21+
"PRETIX_DATABASE_NAME": {
22+
"type": "string"
23+
},
24+
"PRETIX_DATABASE_PASSWORD": {
25+
"type": "string"
26+
},
27+
"PRETIX_DATABASE_USER": {
28+
"type": "string"
29+
},
30+
"PRETIX_MAIL_FROM": {
31+
"type": "string"
32+
},
33+
"PRETIX_MAIL_HOST": {
34+
"type": "null"
35+
},
36+
"PRETIX_MAIL_PASSWORD": {
37+
"type": "null"
38+
},
39+
"PRETIX_MAIL_PORT": {
40+
"type": "integer"
41+
},
42+
"PRETIX_MAIL_TLS": {
43+
"type": "boolean"
44+
},
45+
"PRETIX_MAIL_USER": {
46+
"type": "null"
47+
},
48+
"PRETIX_PRETIX_CURRENCY": {
49+
"type": "string"
50+
},
51+
"PRETIX_PRETIX_DATADIR": {
52+
"type": "string"
53+
},
54+
"PRETIX_PRETIX_INSTANCE_NAME": {
55+
"type": "string"
56+
},
57+
"PRETIX_PRETIX_TRUST_X_FORWARDED_FOR": {
58+
"type": "string"
59+
},
60+
"PRETIX_PRETIX_TRUST_X_FORWARDED_PROTO": {
61+
"type": "string"
62+
},
63+
"PRETIX_PRETIX_URL": {
64+
"type": "string"
65+
},
66+
"PRETIX_REDIS_LOCATION": {
67+
"type": "string"
68+
},
69+
"PRETIX_REDIS_SESSIONS": {
70+
"type": "boolean"
71+
}
72+
},
73+
"type": "object"
74+
},
75+
"image": {
76+
"properties": {
77+
"pullPolicy": {
78+
"type": "string"
79+
},
80+
"pullSecrets": {
81+
"type": "array"
82+
},
83+
"repository": {
84+
"type": "string"
85+
},
86+
"tag": {
87+
"type": "string"
88+
}
89+
},
90+
"type": "object"
91+
},
92+
"ingress": {
93+
"properties": {
94+
"annotations": {
95+
"properties": {},
96+
"type": "object"
97+
},
98+
"enabled": {
99+
"type": "boolean"
100+
},
101+
"hosts": {
102+
"items": {
103+
"properties": {
104+
"host": {
105+
"type": "string"
106+
},
107+
"paths": {
108+
"items": {
109+
"properties": {
110+
"path": {
111+
"type": "string"
112+
},
113+
"pathType": {
114+
"type": "string"
115+
}
116+
},
117+
"type": "object"
118+
},
119+
"type": "array"
120+
}
121+
},
122+
"type": "object"
123+
},
124+
"type": "array"
125+
},
126+
"ingressClassName": {
127+
"type": "string"
128+
},
129+
"tls": {
130+
"type": "array"
131+
}
132+
},
133+
"type": "object"
134+
},
135+
"labels": {
136+
"type": "array"
137+
},
138+
"persistence": {
139+
"properties": {
140+
"accessMode": {
141+
"type": "string"
142+
},
143+
"enabled": {
144+
"type": "boolean"
145+
},
146+
"size": {
147+
"type": "string"
148+
},
149+
"storageClassName": {
150+
"type": "string"
151+
}
152+
},
153+
"type": "object"
154+
},
155+
"postgresql": {
156+
"properties": {
157+
"auth": {
158+
"properties": {
159+
"database": {
160+
"type": "string"
161+
},
162+
"password": {
163+
"type": "string"
164+
},
165+
"postgresPassword": {
166+
"type": "string"
167+
},
168+
"username": {
169+
"type": "string"
170+
}
171+
},
172+
"type": "object"
173+
},
174+
"enabled": {
175+
"type": "boolean"
176+
}
177+
},
178+
"type": "object"
179+
},
180+
"redis": {
181+
"properties": {
182+
"architecture": {
183+
"type": "string"
184+
},
185+
"auth": {
186+
"properties": {
187+
"enabled": {
188+
"type": "boolean"
189+
}
190+
},
191+
"type": "object"
192+
},
193+
"enabled": {
194+
"type": "boolean"
195+
}
196+
},
197+
"type": "object"
198+
},
199+
"replicas": {
200+
"properties": {
201+
"pretixWeb": {
202+
"type": "integer"
203+
},
204+
"pretixWorker": {
205+
"type": "integer"
206+
}
207+
},
208+
"type": "object"
209+
},
210+
"resources": {
211+
"properties": {
212+
"limits": {
213+
"properties": {
214+
"memory": {
215+
"type": "string"
216+
}
217+
},
218+
"type": "object"
219+
},
220+
"requests": {
221+
"properties": {
222+
"cpu": {
223+
"type": "string"
224+
},
225+
"memory": {
226+
"type": "string"
227+
}
228+
},
229+
"type": "object"
230+
}
231+
},
232+
"type": "object"
233+
}
234+
},
235+
"type": "object"
236+
}

0 commit comments

Comments
 (0)