khuedoan-homelab/platform/gitea/values.yaml
Khue Doan f51d3f95a9 feat(gitea): automatically setup Dex as authentication source
It's very ugly but it works ¯\_(ツ)_/¯
2024-01-17 01:51:43 +07:00

42 lines
1.1 KiB
YAML

gitea:
ingress:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hajimari.io/appName: Gitea
hajimari.io/icon: git
hosts:
- host: &host git.khuedoan.com
paths:
- path: /
pathType: Prefix
tls:
- secretName: gitea-tls-certificate
hosts:
- *host
gitea:
admin:
existingSecret: gitea-admin-secret
config:
server:
LANDING_PAGE: explore
ROOT_URL: https://git.khuedoan.com
OFFLINE_MODE: true
repository:
DISABLED_REPO_UNITS: repo.wiki,repo.projects,repo.packages
DISABLE_STARS: true
DEFAULT_BRANCH: master
# TODO it's not reading the username from Dex correctly for now, related issues:
# https://github.com/go-gitea/gitea/issues/25725
# https://github.com/go-gitea/gitea/issues/24957
# oauth2_client:
# ENABLE_AUTO_REGISTRATION: true
# USERNAME: userid
service.explore:
DISABLE_USERS_PAGE: true
actions:
ENABLED: false
webhook:
ALLOWED_HOST_LIST: private