Gitea chart v9.5.0 - Deployment issue: Invalid ROOT_URL 'https://{{ .Values.global.giteaHostName }}' #530

Closed
opened 2023-10-10 13:24:14 +00:00 by Ceddaerrix · 1 comment
Ceddaerrix commented 2023-10-10 13:24:14 +00:00 (Migrated from gitea.com)

With Gitea chart v9.5.0, when using a values.yaml with:

global:
  giteaHostName: "gitea.my-org.com"

ingress:
  enabled: true
  hosts:
    - host: "{{ .Values.global.giteaHostName }}"
      paths:
        - path: /
          pathType: Prefix
  tls: 
      - secretName: gitea-tls
        hosts:
          - "{{ .Values.global.giteaHostName }}"

The following error appears in the 'configure-gitea' container logs:

==== BEGIN GITEA CONFIGURATION ====
2023/10/10 13:21:44 ...es/setting/server.go:271:loadServerFrom() [F] Invalid ROOT_URL 'https://{{ .Values.global.giteaHostName }}': parse "https://{{ .Values.global.giteaHostName }}": invalid character "{" in host name
Gitea migrate might fail due to database connection...This init-container will try again in a few seconds
With Gitea chart v9.5.0, when using a values.yaml with: ``` global: giteaHostName: "gitea.my-org.com" ingress: enabled: true hosts: - host: "{{ .Values.global.giteaHostName }}" paths: - path: / pathType: Prefix tls: - secretName: gitea-tls hosts: - "{{ .Values.global.giteaHostName }}" ``` The following error appears in the 'configure-gitea' container logs: ``` ==== BEGIN GITEA CONFIGURATION ==== 2023/10/10 13:21:44 ...es/setting/server.go:271:loadServerFrom() [F] Invalid ROOT_URL 'https://{{ .Values.global.giteaHostName }}': parse "https://{{ .Values.global.giteaHostName }}": invalid character "{" in host name Gitea migrate might fail due to database connection...This init-container will try again in a few seconds ```
Ceddaerrix commented 2023-10-10 13:26:43 +00:00 (Migrated from gitea.com)

Issue being handled under PR https://gitea.com/gitea/helm-chart/pulls/529

Issue being handled under PR https://gitea.com/gitea/helm-chart/pulls/529
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lunny/helm-chart#530
No description provided.