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