-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
204 lines (177 loc) · 5 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
# Default values for odoo
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# Enable maintenance mode
maintenance:
enabled: false
signature: ""
replicaCount: 1
image:
repository: odoo
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "16.0"
## Optionally specify an imagePullSecret.
## Secret must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
## pullSecret:
deployment:
## Odoo deployment strategy
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
strategy: Recreate
postgresql:
## If true, install the Postgresql chart
## ref: https://github.com/bitnami/charts/blob/master/bitnami/postgresql/values.yaml
## If false, use an external postgresql database
enabled: true
auth:
# Database name should be set as false if you are using a multi-tenant setup
# In this case, we are using the dbfilter option in the odoo section
database: odoo
username: odoo
# password: managed by a Kubernetes secret, you could use existing one
password: mySecuredPassword
admin_password: mySecuredPassword
existingSecret: odoo-postgresql-secret
secretKeys:
adminPasswordKey: postgresql-admin-password
userPasswordKey: postgresql-password
## host of the external postgresql database
host: "odoo-postgresql"
port: 5432
primary:
persistence:
enabled: false
odoo:
init:
enabled: false
modules: base,web
update:
enabled: true
modules: all
server_wide_modules: base,web
# admin_passwd: managed by external secrets
proxy_mode: "True"
workers: 2
limit_memory_soft: 2147483648
limit_memory_hard: 2684354560
limit_request: 65536
limit_time_cpu: 60
limit_time_real: 120
limit_time_real_cron: -1
list_db: "False"
addons_path: /mnt/extra-addons
smtp_server: ""
load_language: en_US
without_demo: all
# dbfilter is used to filter the databases that the user can see in a multi-tenant setup
# dbfilter should be false if you are not using a multi-tenant setup
# and you need to setup the postgresql.auth.database to the name of the database.
dbfilter: false
# db_name should be False if you are using a multi-tenant setup
db_name: odoo
db_maxconn: 64
log_level: info
log_handler: ":INFO"
# Use an existing secret for the Odoo configuration instead of generating one
existingSecret:
enabled: false
# Use external-secrets.io for Odoo configuration instead of generating one
externalsecrets:
enabled: false
secretStoreRef:
name: vault-backend
postgresqlKey:
odooKey:
persistence:
enabled: false
accessMode: ReadWriteOnce
storageClass: "openebs-zfs-retain"
size: 10Gi
# Name of an existing claim
# existingClaim:
# Additional environment variables
# extraEnv:
# Additional environment variables from secrets or configmaps
# extraEnvFrom:
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
statefulSetSecurityAnnotations: {}
securityContext:
fsGroup: 101
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
ingress:
enabled: false
className: "public"
annotations:
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/backend-protocol: HTTP
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
hosts:
- host: odoo.example.com
paths:
- path: /
pathType: Prefix
tls:
- secretName: odoo-tls-secret
hosts:
- odoo.example.com
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
## Configure options for Odoo containers' liveness and readiness probes
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
livenessProbe:
httpGet:
port: odoo-http
path: /
initialDelaySeconds: 420
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 6
successThreshold: 1
readinessProbe:
httpGet:
port: odoo-http
path: /web/health
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 6
successThreshold: 1
# startupProbe:
# path: /web/health
# initialDelaySeconds: 180
# periodSeconds: 10
# timeoutSeconds: 5
# failureThreshold: 6
# successThreshold: 1
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: {}
tolerations: []
affinity: {}