46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/leantime
|
|
pullPolicy: IfNotPresent
|
|
tag: 2.3.11@sha256:25cc1c0d2fa665634e6f067f8dc55fdeeef20062d353a6ca3205d563dcfac4c2
|
|
|
|
securityContext:
|
|
runAsNonRoot: false
|
|
readOnlyRootFilesystem: false
|
|
|
|
podSecurityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
env:
|
|
LEAN_DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
LEAN_DB_USER: "{{ .Values.mariadb.mariadbUsername }}"
|
|
LEAN_APP_URL: "{{ if .Values.ingress }}{{ if .Values.ingress.main.enabled }}https://{{ ( index .Values.ingress.main.hosts 0 ).host }}{{ end }}{{ end }}"
|
|
LEAN_DB_HOST:
|
|
secretKeyRef:
|
|
name: mariadbcreds
|
|
key: plainhost
|
|
LEAN_DB_PASSWORD:
|
|
secretKeyRef:
|
|
name: mariadbcreds
|
|
key: mariadb-password
|
|
LEAN_SESSION_PASSWORD:
|
|
secretKeyRef:
|
|
name: leantime-secrets
|
|
key: LEAN_SESSION_PASSWORD
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10117
|
|
targetPort: 80
|
|
|
|
mariadb:
|
|
enabled: true
|
|
mariadbUsername: leantime
|
|
mariadbDatabase: leantime
|
|
existingSecret: "mariadbcreds"
|
|
|
|
portal:
|
|
enabled: true
|