feat: 🎉 Add MinIO credentials for repository archiving

Adds MinIO access and secret keys for repository archiving functionality in the configuration.

This enhancement ensures that the necessary credentials are securely referenced, improving access to MinIO storage for archived repositories.

Relates to improved storage management.
This commit is contained in:
Daniel Sy 2025-05-28 10:31:28 +02:00
parent 528b44a1ba
commit 774871c878
Signed by: Daniel.Sy
GPG key ID: 1F39A8BBCD2EE3D3

View file

@ -64,6 +64,16 @@ gitea:
secretKeyRef: secretKeyRef:
name: forgejo-cloud-credentials name: forgejo-cloud-credentials
key: secret-key key: secret-key
- name: FORGEJO__repo_0X2D_archive__MINIO_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: forgejo-cloud-credentials
key: access-key
- name: FORGEJO__repo_0X2D_archive__MINIO_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: forgejo-cloud-credentials
key: secret-key
admin: admin:
existingSecret: gitea-credential existingSecret: gitea-credential
@ -98,6 +108,12 @@ gitea:
MINIO_LOCATION: eu-de MINIO_LOCATION: eu-de
MINIO_BUCKET: edp-forgejo-{{{ .Env.CLUSTER_ENVIRONMENT }}} MINIO_BUCKET: edp-forgejo-{{{ .Env.CLUSTER_ENVIRONMENT }}}
MINIO_USE_SSL: true MINIO_USE_SSL: true
'repo-archive':
MINIO_ENDPOINT: obs.eu-de.otc.t-systems.com:443
STORAGE_TYPE: minio
MINIO_LOCATION: eu-de
MINIO_BUCKET: edp-forgejo-{{{ .Env.CLUSTER_ENVIRONMENT }}}
MINIO_USE_SSL: true
service: service:
DISABLE_REGISTRATION: true DISABLE_REGISTRATION: true