Initial upload

This commit is contained in:
Stephan Lo 2025-06-22 15:20:29 +02:00
parent 075c31c6c4
commit 455e987a01
19 changed files with 1531 additions and 46 deletions

View file

@ -1,3 +1,7 @@
# We use recreate to make sure only one instance with one version is running, because Forgejo might break or data gets inconsistant.
strategy:
type: Recreate
redis-cluster:
enabled: false
@ -12,26 +16,27 @@ postgresql-ha:
persistence:
enabled: true
size: 5Gi
size: 200Gi
annotations:
everest.io/crypt-key-id: KMS
test:
enabled: false
deployment:
env:
- name: SSL_CERT_FILE
value: /etc/elasticsearch/elasticsearch.cer
- name: SSL_CERT_DIR
value: /etc/ssl/forgejo
extraVolumeMounts:
- mountPath: /etc/elasticsearch
name: elasticsearch-cert-volume
- mountPath: /etc/ssl/forgejo
name: custom-database-certs-volume
readOnly: true
extraVolumes:
- name: elasticsearch-cert-volume
configMap:
defaultMode: 420
name: elasticsearch-cert
- name: custom-database-certs-volume
secret:
secretName: custom-database-certs
gitea:
additionalConfigFromEnvs:
@ -85,6 +90,11 @@ gitea:
secretKeyRef:
name: elasticsearch-cloud-credentials
key: connection-string
- name: FORGEJO__mailer__PASSWD
valueFrom:
secretKeyRef:
name: email-user-credentials
key: connection-string
admin:
existingSecret: gitea-credential
@ -101,7 +111,7 @@ gitea:
MINIO_ENDPOINT: obs.eu-de.otc.t-systems.com:443
STORAGE_TYPE: minio
MINIO_LOCATION: eu-de
MINIO_BUCKET: edp-forgejo-mycluster
MINIO_BUCKET: edp-forgejo-kind
MINIO_USE_SSL: true
queue:
@ -123,6 +133,7 @@ gitea:
database:
DB_TYPE: postgres
SSL_MODE: verify-ca
server:
DOMAIN: 'ABC'
@ -130,10 +141,11 @@ gitea:
mailer:
ENABLED: true
FROM: forgejo@ABC
PROTOCOL: smtp
SMTP_ADDR: mailhog.mailhog.svc.cluster.local
SMTP_PORT: 1025
USER: ipcei-cis-devfw@mms-support.de
PROTOCOL: smtps
FROM: '"IPCEI CIS DevFW" <ipcei-cis-devfw@mms-support.de>'
SMTP_ADDR: mail.mms-support.de
SMTP_PORT: 465
service:
ssh: