forked from TeamPiped/Piped-Kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
248 lines (221 loc) · 6.16 KB
/
values.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
---
global:
# -- Set an override for the prefix of the fullname
nameOverride:
# -- Set the entire name definition
fullnameOverride:
# -- Set additional global labels. Helm templates can be used.
labels: {}
# -- Set additional global annotations. Helm templates can be used.
annotations: {}
controller:
# -- enable the controller.
enabled: false
serviceAccount:
create: false
frontend:
enabled: true
service:
main:
enabled: true
primary: true
type: ClusterIP
ports:
http:
enabled: true
primary: true
port: 80
protocol: HTTP
image:
# -- image repository
repository: 1337kavin/piped-frontend
# -- image tag
tag: "latest@sha256:96b746dc7a538d0f5a658864d9162be542c2db49f16f3cc8214878e39dec8504" # Manifest index
# -- image pull policy
pullPolicy: IfNotPresent
# env:
# BACKEND_HOSTNAME: pipedapi.example.org
command: "/bin/ash"
args:
- -c
- "sed -i s/pipedapi.kavin.rocks/$BACKEND_HOSTNAME/g /usr/share/nginx/html/assets/* && /docker-entrypoint.sh nginx -g 'daemon off;'"
# resources:
# requests:
# memory: 32Mi
# limits:
# memory: 128Mi
backend:
enabled: true
service:
main:
enabled: true
primary: true
type: ClusterIP
ports:
http:
enabled: true
primary: true
port: 8080
protocol: HTTP
# command: "/bin/sh"
# args:
# - -c
# - sleep infinity
# If the hostnames are not set for backend, proxy and API, they will be automatically fetched from their ingresses.
config:
PORT: 8080
HTTP_WORKERS: 2
# PROXY_PART: https://PROXY_HOSTNAME
# Outgoing HTTP Proxy - eg: 127.0.0.1:8118
# HTTP_PROXY: 127.0.0.1:8118
# Captcha Parameters
# CAPTCHA_BASE_URL: https://api.capmonster.cloud/
# CAPTCHA_API_KEY: INSERT_HERE
# API_URL: https://BACKEND_HOSTNAME
# FRONTEND_URL: https://FRONTEND_HOSTNAME
# Enable haveibeenpwned compromised password API
# COMPROMISED_PASSWORD_CHECK: true
# Disable Registration
# DISABLE_REGISTRATION: false
# Feed Retention Time in Days
# FEED_RETENTION: 30
# database:
# connection_url: jdbc:postgresql://postgres:5432/piped
# driver_class: org.postgresql.Driver
# dialect: org.hibernate.dialect.PostgreSQLDialect
# username: piped
# password: changeme
# Please only provide the secret name (it should already exist),
# it should only include database.username and database.password as others will be taken from above.
# secret:
# name: secret-name
# Optionally grab differently named keys
# username: DB_USERNAME
# password: DB_PASSWORD
image:
# -- image repository
repository: 1337kavin/piped
# -- image tag
# @chart.appVersion
tag: "latest@sha256:4640c0a7c2ec920a7e1c42db94cab41c1da08ae04e307620c5d9a619b0e3bffc" # Manifest index
# -- image pull policy
pullPolicy: IfNotPresent
# resources:
# requests:
# memory: 500Mi
# limits:
# memory: 1500Mi
ytproxy:
enabled: true
service:
main:
enabled: true
primary: true
type: ClusterIP
ports:
http:
enabled: true
primary: true
port: 8080
protocol: HTTP
command: "/app/piped-proxy"
image:
# -- image repository
repository: 1337kavin/piped-proxy
# -- image tag
tag: "latest@sha256:833ca24c048619c9cd6fe58e2d210bfc7b1e43875ba5108aeddea0b171f04dbd" # Manifest index
# -- image pull policy
pullPolicy: IfNotPresent
# resources:
# requests:
# memory: 32Mi
# limits:
# memory: 500Mi
ingress:
main:
enabled: true
primary: true
hosts:
- host: piped.video
paths:
- path: "/"
tls: []
backend:
enabled: true
ingressClassName: nginx
primary: false
hosts:
- host: pipedapi.piped.video
paths:
- path: "/"
tls: []
ytproxy:
enabled: true
ingressClassName: nginx
primary: false
hosts:
- host: ytproxy.piped.video
paths:
- path: "/"
tls: []
# See options from https://artifacthub.io/packages/helm/bitnami/postgresql#parameters
postgresql:
enabled: true
image:
tag: 13.12.0-debian-11-r58
auth:
database: piped
username: piped
password: changemepiped
# -- Probe configuration
# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)
# @default -- See below
probes:
# -- Liveness probe configuration
# @default -- See below
liveness:
# -- Enable the liveness probe
enabled: true
# -- Set this to `true` if you wish to specify your own livenessProbe
custom: false
# -- The spec field contains the values for the default livenessProbe.
# If you selected `custom: true`, this field holds the definition of the livenessProbe.
# @default -- See below
spec:
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
# -- Redainess probe configuration
# @default -- See below
readiness:
# -- Enable the readiness probe
enabled: true
# -- Set this to `true` if you wish to specify your own readinessProbe
custom: false
# -- The spec field contains the values for the default readinessProbe.
# If you selected `custom: true`, this field holds the definition of the readinessProbe.
# @default -- See below
spec:
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
# -- Startup probe configuration
# @default -- See below
startup:
# -- Enable the startup probe
enabled: true
# -- Set this to `true` if you wish to specify your own startupProbe
custom: false
# -- The spec field contains the values for the default startupProbe.
# If you selected `custom: true`, this field holds the definition of the startupProbe.
# @default -- See below
spec:
initialDelaySeconds: 0
timeoutSeconds: 1
## This means it has a maximum of 5*30=150 seconds to start up before it fails
periodSeconds: 5
failureThreshold: 30
termination:
gracePeriodSeconds: