infrastructure/k8s/roles/gitea/templates/values.gitea.yml.j2

79 lines
1.6 KiB
Text
Raw Normal View History

2022-09-11 16:49:31 +00:00
service:
ssh:
type: NodePort
nodePort: 32022
ingress:
enabled: true
hosts:
- host: code.icb4dc0.de
paths:
- path: /
pathType: Prefix
resources:
limits:
cpu: 500m
memory: 768Mi
2022-09-11 16:49:31 +00:00
requests:
cpu: 250m
memory: 256Mi
2022-09-11 16:49:31 +00:00
persistence:
2022-09-14 20:26:57 +00:00
enabled: true
size: 10Gi
storageClass: hcloud-volumes
2022-09-11 16:49:31 +00:00
image:
tag: "1.18.0"
2022-09-11 16:49:31 +00:00
gitea:
admin:
existingSecret: gitea-admin-credentials
metrics:
enabled: true
serviceMonitor:
enabled: true
additionalLabels:
prometheus: default
2022-09-11 16:49:31 +00:00
config:
git.timeout:
migrate: 3600
default: 3600
clone: 3600
pull: 3600
gc: 300
2022-09-29 18:51:26 +00:00
log:
level: Warn
2022-09-11 16:49:31 +00:00
server:
PROTOCOL: http
ROOT_URL: https://code.icb4dc0.de/
LFS_START_SERVER: 'true'
service:
DISABLE_REGISTRATION: 'true'
DEFAULT_KEEP_EMAIL_PRIVATE: 'true'
DEFAULT_ALLOW_CREATE_ORGANIZATION: 'false'
DEFAULT_USER_IS_RESTRICTED: 'true'
2022-09-11 16:49:31 +00:00
storage:
STORAGE_TYPE: minio
MINIO_ENDPOINT: minio.minio.svc.cluster.local:9000
MINIO_ACCESS_KEY_ID: "{{ minio.rootUser }}"
MINIO_SECRET_ACCESS_KEY: "{{ minio.rootPassword }}"
MINIO_BUCKET: gitea
MINIO_LOCATION: us-east-1
MINIO_USE_SSL: 'false'
attachment:
ALLOWED_TYPES: application/gzip|application/x-gzip|application/x-gtar|application/x-tgz|application/x-compressed-tar|text/plain
2022-09-11 16:49:31 +00:00
database:
DB_TYPE: postgres
HOST: postgres-15-postgresql.postgres.svc.cluster.local:5432
2022-09-11 16:49:31 +00:00
NAME: gitea
USER: gitea
PASSWD: "{{ gitea.dbPassword }}"
2022-09-29 18:51:26 +00:00
log_sql: "false"
metrics:
ENABLED: true
2022-09-11 16:49:31 +00:00
postgresql:
enabled: false