feat(forgejo): allow upload of bigger files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter 2023-09-14 17:20:05 +02:00
parent 3f4e5c60ce
commit 0c44a6fb78
2 changed files with 15 additions and 2 deletions

View file

@ -30,5 +30,4 @@
release_namespace: forgejo
release_state: present
chart_version: 0.10.1
update_repo_cache: true
release_values: "{{ lookup('template', 'values.forgejo.yml.j2') | from_yaml }}"

View file

@ -37,6 +37,11 @@ gitea:
additionalLabels:
prometheus: default
config:
repository:
FILE_MAX_SIZE: 30
MAX_FILES: 15
repository.release:
ALLOWED_TYPES: .bz2,.gz,.md,.pdf,.tgz,.txt,.zip,.tar.gz,.txt,application/gzip,application/x-gzip,application/x-gtar,application/x-tgz,application/x-compressed-tar,text/plain
git.timeout:
migrate: 3600
default: 3600
@ -66,7 +71,16 @@ gitea:
MINIO_LOCATION: us-east-1
MINIO_USE_SSL: 'false'
attachment:
ALLOWED_TYPES: .csv,.docx,.fodg,.fodp,.fods,.fodt,.gif,.gz,.jpeg,.jpg,.log,.md,.mov,.mp4,.odf,.odg,.odp,.ods,.odt,.pdf,.png,.pptx,.svg,.tgz,.txt,.webm,.xls,.xlsx,.zip,.tar.gz,.txt,application/gzip,application/x-gzip,application/x-gtar,application/x-tgz,application/x-compressed-tar,text/plain
ALLOWED_TYPES: .bz2,.gz,.md,.pdf,.tgz,.txt,.zip,.tar.gz,.txt,application/gzip,application/x-gzip,application/x-gtar,application/x-tgz,application/x-compressed-tar,text/plain
MAX_SIZE: 30
MAX_FILES: 15
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: postgres-15-postgresql.postgres.svc.cluster.local:5432