48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
image:
|
|
pullPolicy: IfNotPresent
|
|
repository: leantime/leantime
|
|
tag: 2.4.8@sha256:00b33338868be7e61590d42b62fe35e889459f992e784cd83d4560b0a8c0c0a9
|
|
mariadb:
|
|
enabled: true
|
|
existingSecret: mariadbcreds
|
|
mariadbDatabase: leantime
|
|
mariadbUsername: leantime
|
|
portal:
|
|
open:
|
|
enabled: true
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
runAsGroup: 0
|
|
runAsUser: 0
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10117
|
|
targetPort: 80
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
env:
|
|
LEAN_APP_URL:
|
|
"{{ if .Values.ingress }}{{ if .Values.ingress.main.enabled
|
|
}}https://{{ ( index .Values.ingress.main.hosts 0 ).host }}{{ end }}{{
|
|
end }}"
|
|
LEAN_DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
LEAN_DB_HOST:
|
|
secretKeyRef:
|
|
key: plainhost
|
|
name: mariadbcreds
|
|
LEAN_DB_PASSWORD:
|
|
secretKeyRef:
|
|
key: mariadb-password
|
|
name: mariadbcreds
|
|
LEAN_DB_USER: "{{ .Values.mariadb.mariadbUsername }}"
|
|
LEAN_SESSION_PASSWORD:
|
|
secretKeyRef:
|
|
key: LEAN_SESSION_PASSWORD
|
|
name: leantime-secrets
|