2022-03-23 17:02:56 -04:00
|
|
|
image:
|
2022-03-25 19:15:42 -04:00
|
|
|
repository: tccr.io/truecharts/kimai
|
2022-05-19 06:21:42 -04:00
|
|
|
tag: v1.20@sha256:f13b70aa746b3d8a754bcf1f78dbdfde95b94f443ee17b9e3474ab0ebf6068e3
|
2022-03-23 17:02:56 -04:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
securityContext:
|
2022-03-25 19:15:42 -04:00
|
|
|
readOnlyRootFilesystem: false
|
2022-03-23 17:02:56 -04:00
|
|
|
|
|
|
|
podSecurityContext:
|
2022-03-25 19:15:42 -04:00
|
|
|
runAsUser: 33
|
|
|
|
runAsGroup: 33
|
2022-03-23 17:02:56 -04:00
|
|
|
|
2022-06-07 13:41:19 -04:00
|
|
|
secretEnv:
|
2022-03-23 17:02:56 -04:00
|
|
|
ADMINMAIL: "admin@mysecretdomain.com"
|
|
|
|
ADMINPASS: "MvvTfjagiaqDprGNVA"
|
|
|
|
|
|
|
|
env:
|
|
|
|
DB_TYPE: "mysql"
|
|
|
|
DB_PORT: "3306"
|
|
|
|
DB_USER: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
|
|
DB_BASE: "{{ .Values.mariadb.mariadbUsername }}"
|
2022-03-25 21:20:40 -04:00
|
|
|
APP_ENV: "prod"
|
|
|
|
TRUSTED_HOSTS: "{{ .Values.env.trust_hosts }},localhost"
|
2022-03-23 17:02:56 -04:00
|
|
|
# User Defined
|
2022-03-25 21:20:40 -04:00
|
|
|
trust_hosts: "127.0.0.1"
|
2022-03-23 17:02:56 -04:00
|
|
|
DB_PASS:
|
|
|
|
secretKeyRef:
|
|
|
|
name: mariadbcreds
|
|
|
|
key: mariadb-password
|
|
|
|
DB_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: mariadbcreds
|
|
|
|
key: plainhost
|
2022-03-25 21:20:40 -04:00
|
|
|
APP_SECRET:
|
|
|
|
secretKeyRef:
|
|
|
|
name: kimai-secrets
|
|
|
|
key: APP_SECRET
|
2022-03-23 17:02:56 -04:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10198
|
|
|
|
targetPort: 8001
|
|
|
|
|
2022-03-25 19:15:42 -04:00
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
path: "/en/login"
|
|
|
|
readiness:
|
|
|
|
path: "/en/login"
|
|
|
|
startup:
|
|
|
|
path: "/en/login"
|
|
|
|
|
2022-03-23 17:02:56 -04:00
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
2022-03-25 21:20:40 -04:00
|
|
|
mountPath: "/opt/kimai/var/data"
|
|
|
|
plugins:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/opt/kimai/var/plugins"
|
2022-03-23 17:02:56 -04:00
|
|
|
|
|
|
|
mariadb:
|
|
|
|
enabled: true
|
|
|
|
mariadbUsername: kimai
|
|
|
|
mariadbDatabase: kimai
|
|
|
|
existingSecret: "mariadbcreds"
|
2022-08-08 17:25:02 -04:00
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: true
|