renovate-ci / validate-renovate (push) Successful in 5s
ci / lint-compose (push) Successful in 4s
ci / lint-actionlint (push) Successful in 1s
ci / lint-shellcheck (push) Successful in 3s
ci / lint-prettier (push) Successful in 3s
ci / lint-ruff (push) Successful in 2s
ci / lint-yaml (push) Successful in 3s
ci / lint-dockerfiles (push) Successful in 2s
ci / scan-deps (push) Successful in 17s
ci / test-backend (push) Successful in 9s
ci / test-frontend (push) Successful in 13s
ci / validate (push) Successful in 2s
ci / build (push) Successful in 7s
cron.rebuild_issue_indexer runs at start, so every gitea pod restart reindexed the whole issue index and read ~7MB/s off the rotational disk for an hour.
29 lines
950 B
YAML
29 lines
950 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: gitea-config
|
|
namespace: gitea
|
|
data:
|
|
GITEA__server__DOMAIN: "gitea.forust.xyz"
|
|
GITEA__server__ROOT_URL: "https://gitea.forust.xyz"
|
|
GITEA__server__SSH_DOMAIN: "gitssh.forust.xyz"
|
|
GITEA__server__SSH_PORT: "2221"
|
|
|
|
GITEA__database__DB_TYPE: "postgres"
|
|
GITEA__database__HOST: "postgres.database.svc.cluster.local:5432"
|
|
GITEA__database__NAME: "gitea"
|
|
GITEA__security__REVERSE_PROXY_LIMIT: "1"
|
|
GITEA__security__REVERSE_PROXY_TRUSTED_PROXIES: "*"
|
|
|
|
GITEA__mailer__ENABLED: "false"
|
|
|
|
# No code/issue search needed: bleve reindexes the whole issue index on
|
|
# every pod restart (cron.rebuild_issue_indexer RUN_AT_START) and hammers
|
|
# the rotational disk for an hour. "db" serves issue search from postgres.
|
|
GITEA__indexer__ISSUE_INDEXER_TYPE: "db"
|
|
GITEA__indexer__REPO_INDEXER_ENABLED: "false"
|
|
|
|
GITEA__log__logger.access.MODE: "console, file"
|
|
USER_UID: "1000"
|
|
USER_GID: "1000"
|