infrastructure/k8s/roles/gitea/templates/values.gitea.yml.j2
2022-09-14 22:26:57 +02:00

52 lines
1 KiB
Django/Jinja

service:
ssh:
type: NodePort
nodePort: 32022
ingress:
enabled: true
hosts:
- host: code.icb4dc0.de
paths:
- path: /
pathType: Prefix
resources:
limits:
cpu: 100m
memory: 256Mi
requests:
cpu: 50m
memory: 128Mi
persistence:
enabled: true
size: 10Gi
storageClass: hcloud-volumes
gitea:
admin:
existingSecret: gitea-admin-credentials
config:
server:
PROTOCOL: http
ROOT_URL: https://code.icb4dc0.de/
LFS_START_SERVER: 'true'
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'
database:
DB_TYPE: postgres
HOST: default-postgres-postgresql.postgres.svc.cluster.local:5432
NAME: gitea
USER: gitea
PASSWD: "{{ gitea.dbPassword }}"
postgresql:
enabled: false