-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathvalues.yaml
194 lines (189 loc) · 5.31 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
---
# App settings
app:
# The server's timezone, for a list of possible names:
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
timezone: "UTC"
global:
image:
registry: docker.io
repository: wger/server
# when tag left emtpy the Chart appversion will be taken
# wger is developed as a rolling release
tag: latest
PullPolicy: Always
annotations: {}
replicas: 1
securityContext:
fsGroup: 1000
persistence:
# this will be overriden to `true` when nginx is enabled
enabled: false
storageClass: null
accessModes:
- ReadWriteMany
sizeMedia: 8Gi
sizeStatic: 8Gi
sizeCeleryBeat: 1Gi
annotations: {}
existingClaim:
enabled: false
media: null
static: null
code: null
celeryBeat: null
resources:
requests:
memory: 512Mi
cpu: 100m
limits:
memory: 1Gi
cpu: 500m
# when nginx is enabled persistent volumes are required
# and therefore automatically enabled
nginx:
enabled: false
image: nginx:stable
imagePullPolicy: IfNotPresent
django:
secret:
name: null
key: null
cache:
# in seconds - 60*60*24*15, 15 Days
timeout: 1296000
#
# JWT auth
jwt:
secret:
name: null
key: null
# The lifetime duration of the access token, in minutes
accessTokenLifetime: 10
# The lifetime duration of the refresh token, in hours
refreshTokenLifetime: 24
#
# Brute force login attacks
# https://django-axes.readthedocs.io/en/latest/index.html
axes:
enabled: false
lockoutParameters: "ip_address"
failureLimit: 10
# in minutes
cooloffTime: 30
# number of reverse proxies involved
ipwareProxyCount: 0
# order of magnitude from last proxy for the real ip
ipwareMetaPrecedenceOrder: "HTTP_X_FORWARDED_FOR,REMOTE_ADDR"
#
# celery synchronisation
celery:
enabled: false
annotations: {}
replicas: 1
replicasWorker: 1
securityContext:
fsGroup: 1000
syncExercises: true
syncImages: true
syncVideos: true
# Where to download ingredient and their images if they are not known locally.
# Possible values OFF, WGER. Note that it is recommended to keep this as WGER
# so that we don't overwhelm the Open Food Facts servers. Needs to have USE_CELERY
# set to true
ingredientsFrom: WGER
# flower the webinterface for celery
flower:
enabled: false
secret:
name: null
password: null
ingress:
enabled: false
ingressClassName:
url: fit.example.com
tls: true
annotations: {}
service:
annotations: {}
type: ClusterIP
port: 8000
# PostgreSQL Settings for groundhog2k chart. Only a minimum has been specified below.
# For more options, see https://github.com/groundhog2k/helm-charts/tree/master/charts/postgres
postgres:
# Note: keep these variables present as the wger chart uses them for the deployment
# the superuser and user settings will be saved into a secret
enabled: true
# changes to the superuser and userDatabase passwords will update
# the secret where they are save in
settings:
superuser:
value: postgres
superuserPassword:
value: postgres
userDatabase:
name:
value: wger
user:
value: wger
password:
value: wger
# the user from the user database will be turned into a superuser
# some database migration in django requires this
# otherwise it was not able to create the database
extraScripts: wger-pg-init
service:
port: 5432
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 100m
memory: 128Mi
## Storage parameters
storage:
## Set persistentVolumenClaimName to reference an existing PVC
persistentVolumeClaimName:
## Alternative set requestedSize to define a size for a dynmaically created PVC
requestedSize: 8Gi
## the storage class name
className:
# Redis Settings for groundhog2k chart. Only a minimum has been specified below.
# For more options, see https://github.com/groundhog2k/helm-charts/tree/master/charts/redis
redis:
# Note: keep these variables present as the chart uses them for the Deployment
enabled: true
# auth: is used in wger-helm-charts to auto-create a secret for redis
#
# if you enable auth it will create new secret from auth.password
# if auth.password is missing it will randomly generate one.
#
# to enable authentication in the redis container, you need
# to enable the env and args mentioned below
auth:
enabled: false
# default no password set, this will randomly create
# one upon first installation
# password: XXXXXXXXXXXXXXXXXX
# Uncomment the following to enable password authentication:
# # Additional environment variables (Redis server and Sentinel)
# env:
# - name: REDIS_PASSWORD
# valueFrom:
# secretKeyRef:
# name: redis
# key: redis-password
# # Arguments for the container entrypoint process (Redis server)
# args:
# - "--requirepass $(REDIS_PASSWORD)"
storage:
## Set persistentVolumenClaimName to reference an existing PVC
persistentVolumeClaimName:
## Alternative set requestedSize to define a size for a dynmaically created PVC
## five times (5x) the amount of memory (RAM)
requestedSize: 10Gi
## the storage class name
className:
service:
serverPort: 6379