69 lines
1.3 KiB
YAML
69 lines
1.3 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/kimai
|
|
tag: v1.19@sha256:c397c8f343f90c7997cf524d9b05636571c017db8d9e6db3c6328abfe3cd3b81
|
|
pullPolicy: IfNotPresent
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
|
|
podSecurityContext:
|
|
runAsUser: 33
|
|
runAsGroup: 33
|
|
|
|
secret:
|
|
ADMINMAIL: "admin@mysecretdomain.com"
|
|
ADMINPASS: "MvvTfjagiaqDprGNVA"
|
|
|
|
env:
|
|
DB_TYPE: "mysql"
|
|
DB_PORT: "3306"
|
|
DB_USER: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
DB_BASE: "{{ .Values.mariadb.mariadbUsername }}"
|
|
APP_ENV: "prod"
|
|
TRUSTED_HOSTS: "{{ .Values.env.trust_hosts }},localhost"
|
|
# User Defined
|
|
trust_hosts: "127.0.0.1"
|
|
|
|
envValueFrom:
|
|
DB_PASS:
|
|
secretKeyRef:
|
|
name: mariadbcreds
|
|
key: mariadb-password
|
|
DB_HOST:
|
|
secretKeyRef:
|
|
name: mariadbcreds
|
|
key: plainhost
|
|
APP_SECRET:
|
|
secretKeyRef:
|
|
name: kimai-secrets
|
|
key: APP_SECRET
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10198
|
|
targetPort: 8001
|
|
|
|
probes:
|
|
liveness:
|
|
path: "/en/login"
|
|
readiness:
|
|
path: "/en/login"
|
|
startup:
|
|
path: "/en/login"
|
|
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: "/opt/kimai/var/data"
|
|
plugins:
|
|
enabled: true
|
|
mountPath: "/opt/kimai/var/plugins"
|
|
|
|
mariadb:
|
|
enabled: true
|
|
mariadbUsername: kimai
|
|
mariadbDatabase: kimai
|
|
existingSecret: "mariadbcreds"
|