changes from review

This commit is contained in:
az 2022-07-27 09:02:45 +02:00
parent 5b9a397b67
commit 91feb38f57
2 changed files with 8 additions and 12 deletions

View file

@ -7,9 +7,9 @@ data:
#[attachments] #[attachments]
GITEA__attachments__PATH: /data/gitea/attachments GITEA__attachments__PATH: /data/gitea/attachments
#[databaser] #[database]
GITEA__database__DB_TYPE: "postgres" GITEA__database__DB_TYPE: "postgres"
GITEA__database__HOST: "postgresql-service:5432" # Service.Namespace.svc.cluster.local GITEA__database__HOST: "postgresql-service:5432"
GITEA__database__NAME: gitea GITEA__database__NAME: gitea
GITEA__database__LOG_SQL: "false" GITEA__database__LOG_SQL: "false"
GITEA__database__SSL_MODE: disable GITEA__database__SSL_MODE: disable
@ -20,7 +20,7 @@ data:
RUN_MODE: prod RUN_MODE: prod
RUN_USER: git RUN_USER: git
#federation] #[federation]
GITEA__federation__ENABLED: "true" GITEA__federation__ENABLED: "true"
#[indexer] #[indexer]
@ -63,17 +63,14 @@ data:
GITEA__server__SSH_DOMAIN: FQDN GITEA__server__SSH_DOMAIN: FQDN
GITEA__server__ROOT_URL: URL GITEA__server__ROOT_URL: URL
# TODO: Review jem - 2022/07/26 - what does http port mean? The outgoning port should be 80 for http // 443 for https! # TODO: Review jem - 2022/07/26 - what does http port mean? The outgoning port should be 80 for http // 443 for https!
GITEA__server__HTTP_PORT: "3000" GITEA__server__HTTP_PORT: "3000" # HTTP listen port of the server (in the pod)
GITEA__server__SSH_PORT: "2222" GITEA__server__SSH_PORT: "2222" # SSH port displayed in clone URL
#[service] #[service]
# TODO: Review jem - 2022/07/26 - why? Does not match to whitelisting GITEA__service__DISABLE_REGISTRATION: "false"
GITEA__service__DISABLE_REGISTRATION: "true"
GITEA__service__REQUIRE_SIGNIN_VIEW: "false" GITEA__service__REQUIRE_SIGNIN_VIEW: "false"
# TODO: Review jem - 2022/07/26 - why? Does not match to whitelisting GITEA__service__REGISTER_EMAIL_CONFIRM: "true"
GITEA__service__REGISTER_EMAIL_CONFIRM: "false" GITEA__service__ENABLE_NOTIFY_MAIL: "true"
# TODO: Review jem - 2022/07/26 - why? Does not match to whitelisting
GITEA__service__ENABLE_NOTIFY_MAIL: "false"
GITEA__service__EMAIL_DOMAIN_WHITELIST: WHITELISTDOMAINS GITEA__service__EMAIL_DOMAIN_WHITELIST: WHITELISTDOMAINS
GITEA__service__ALLOW_ONLY_EXTERNAL_REGISTRATION: "false" GITEA__service__ALLOW_ONLY_EXTERNAL_REGISTRATION: "false"
GITEA__service__ENABLE_CAPTCHA: "false" GITEA__service__ENABLE_CAPTCHA: "false"

View file

@ -18,7 +18,6 @@ spec:
spec: spec:
containers: containers:
- name: gitea - name: gitea
# TODO: Review jem - 2022/07/26 - latest release?
image: gitea/gitea:1.16.9 image: gitea/gitea:1.16.9
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
# config settings # config settings