diff --git a/hack/gitea/values.yaml b/hack/gitea/values.yaml index e2513d8b..e205c9ff 100644 --- a/hack/gitea/values.yaml +++ b/hack/gitea/values.yaml @@ -27,6 +27,9 @@ gitea: server: DOMAIN: '{{- if .UsePathRouting -}} {{ .Host }} {{- else -}} gitea.{{- .Host }} {{- end }}' ROOT_URL: '{{- if .UsePathRouting }} {{- .Protocol }}://{{ .Host }}:{{ .Port }}/gitea {{- else }} {{- .Protocol }}://gitea.{{ .Host }}:{{ .Port }} {{- end }}' + webhook: + ALLOWED_HOST_LIST: private + SKIP_TLS_VERIFY: true service: ssh: diff --git a/pkg/controllers/localbuild/resources/gitea/k8s/install.yaml b/pkg/controllers/localbuild/resources/gitea/k8s/install.yaml index 9775f4e8..7e916270 100644 --- a/pkg/controllers/localbuild/resources/gitea/k8s/install.yaml +++ b/pkg/controllers/localbuild/resources/gitea/k8s/install.yaml @@ -41,6 +41,9 @@ stringData: session: |- PROVIDER=memory PROVIDER_CONFIG= + webhook: |- + ALLOWED_HOST_LIST=private + SKIP_TLS_VERIFY=true --- # Source: gitea/templates/gitea/config.yaml apiVersion: v1