fix: correctly handle tls ingress #94

Merged
huww98 merged 1 commits from fix-tls-ingress into master 2022-07-28 08:29:33 +00:00

1 Commits

Author SHA1 Message Date
胡玮文
dabeddae98 fix: correctly handle tls ingress
Set protocol in ROOT_URL to https if tls is enabled.
Never use (index .Values.ingress.tls 0).hosts. It is used for cert and
may contains wildcard.
We also don't need to check .Values.ingress.hosts again, because we
alrealy set it to .Values.gitea.config.server.DOMAIN

Signed-off-by: 胡玮文 <sehuww@mail.scut.edu.cn>
2022-07-24 15:04:47 +08:00