feat(leantime): set LEAN_APP_URL if ingress is enabled (#1594)

* feat(leantime): set LEAN_APP_URL if ingress is enabled

* bump patch

* end

* test1

* test2

* aha
This commit is contained in:
Stavros Kois 2021-12-21 12:37:31 +02:00 committed by GitHub
parent 439de86bb4
commit 6ec59ad41a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,7 @@ name: leantime
sources:
- https://leantime.io/
- https://hub.docker.com/r/nicholaswilde/leantime
version: 1.0.2
version: 1.0.3
annotations:
truecharts.org/catagories: |
- management

View File

@ -14,6 +14,7 @@ podSecurityContext:
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 }}"
service:
main: