2025-07-25 13:16:20 +02:00
|
|
|
|
2025-11-28 11:27:50 +01:00
|
|
|
# We use recreate to make sure only one instance with one version is running, because Forgejo might break or data gets inconsistant.
|
2025-06-19 14:25:30 +02:00
|
|
|
strategy:
|
|
|
|
|
type: Recreate
|
|
|
|
|
|
2024-11-20 15:18:39 +01:00
|
|
|
redis-cluster:
|
2025-05-30 09:25:14 +00:00
|
|
|
enabled: false
|
|
|
|
|
|
|
|
|
|
redis:
|
|
|
|
|
enabled: false
|
|
|
|
|
|
2024-11-20 15:18:39 +01:00
|
|
|
postgresql:
|
|
|
|
|
enabled: false
|
2025-05-30 09:25:14 +00:00
|
|
|
|
2024-11-20 15:18:39 +01:00
|
|
|
postgresql-ha:
|
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
|
enabled: true
|
2025-06-16 14:01:57 +02:00
|
|
|
size: 200Gi
|
2025-08-07 11:30:27 +00:00
|
|
|
storageClass: csi-disk
|
2025-06-16 14:01:57 +02:00
|
|
|
annotations:
|
|
|
|
|
everest.io/crypt-key-id: {{{ .Env.PVC_KMS_KEY_ID }}}
|
2025-08-07 11:30:27 +00:00
|
|
|
everest.io/disk-volume-type: GPSSD
|
2024-11-20 15:18:39 +01:00
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
enabled: false
|
|
|
|
|
|
2025-06-03 16:54:06 +02:00
|
|
|
deployment:
|
|
|
|
|
env:
|
2025-06-17 14:05:41 +02:00
|
|
|
- name: SSL_CERT_DIR
|
2025-06-17 14:43:04 +02:00
|
|
|
value: /etc/ssl/forgejo
|
2025-06-03 16:54:06 +02:00
|
|
|
|
|
|
|
|
extraVolumeMounts:
|
2025-06-17 14:05:41 +02:00
|
|
|
- mountPath: /etc/ssl/forgejo
|
2025-06-17 14:30:51 +02:00
|
|
|
name: custom-database-certs-volume
|
2025-06-16 17:27:51 +02:00
|
|
|
readOnly: true
|
2025-06-03 16:54:06 +02:00
|
|
|
|
|
|
|
|
extraVolumes:
|
2025-06-17 14:30:51 +02:00
|
|
|
- name: custom-database-certs-volume
|
2025-06-16 17:27:51 +02:00
|
|
|
secret:
|
2025-06-17 14:30:51 +02:00
|
|
|
secretName: custom-database-certs
|
2025-06-03 16:54:06 +02:00
|
|
|
|
2024-11-20 15:18:39 +01:00
|
|
|
gitea:
|
2025-07-15 13:53:42 +00:00
|
|
|
metrics:
|
|
|
|
|
enabled: true
|
|
|
|
|
serviceMonitor:
|
|
|
|
|
enabled: true
|
2025-05-26 16:21:30 +02:00
|
|
|
additionalConfigFromEnvs:
|
2025-05-27 16:33:20 +02:00
|
|
|
- name: FORGEJO__storage__MINIO_ACCESS_KEY_ID
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: forgejo-cloud-credentials
|
|
|
|
|
key: access-key
|
|
|
|
|
- name: FORGEJO__storage__MINIO_SECRET_ACCESS_KEY
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: forgejo-cloud-credentials
|
|
|
|
|
key: secret-key
|
2025-05-30 09:25:14 +00:00
|
|
|
- name: FORGEJO__queue__CONN_STR
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: redis-forgejo-cloud-credentials
|
|
|
|
|
key: connection-string
|
|
|
|
|
- name: FORGEJO__session__PROVIDER_CONFIG
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: redis-forgejo-cloud-credentials
|
|
|
|
|
key: connection-string
|
|
|
|
|
- name: FORGEJO__cache__HOST
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: redis-forgejo-cloud-credentials
|
|
|
|
|
key: connection-string
|
2025-05-30 16:49:03 +02:00
|
|
|
- name: FORGEJO__database__HOST
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: postgres-forgejo-cloud-credentials
|
2025-06-02 13:13:42 +02:00
|
|
|
key: host_port
|
2025-05-30 16:49:03 +02:00
|
|
|
- name: FORGEJO__database__NAME
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: postgres-forgejo-cloud-credentials
|
2025-06-02 15:05:14 +02:00
|
|
|
key: database
|
2025-05-30 16:49:03 +02:00
|
|
|
- name: FORGEJO__database__USER
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: postgres-forgejo-cloud-credentials
|
2025-06-02 15:05:14 +02:00
|
|
|
key: username
|
2025-05-30 18:02:59 +02:00
|
|
|
- name: FORGEJO__database__PASSWD
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: postgres-forgejo-cloud-credentials
|
|
|
|
|
key: password
|
2025-07-18 14:33:46 +02:00
|
|
|
# Either 'elasticsearch' or 'bleve' (go in memory search engine)
|
|
|
|
|
- name: FORGEJO__indexer__ISSUE_INDEXER_TYPE
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: elasticsearch-cloud-credentials
|
|
|
|
|
key: type
|
2025-06-02 17:39:15 +02:00
|
|
|
- name: FORGEJO__indexer__ISSUE_INDEXER_CONN_STR
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: elasticsearch-cloud-credentials
|
|
|
|
|
key: connection-string
|
2025-07-17 14:55:22 +02:00
|
|
|
- name: FORGEJO__indexer__ISSUE_INDEXER_ENABLED
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: elasticsearch-cloud-credentials
|
|
|
|
|
key: enabled
|
2025-06-16 13:09:23 +02:00
|
|
|
- name: FORGEJO__mailer__PASSWD
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: email-user-credentials
|
2025-06-16 13:23:40 +02:00
|
|
|
key: connection-string
|
2025-05-27 16:33:20 +02:00
|
|
|
|
2024-11-20 15:18:39 +01:00
|
|
|
admin:
|
|
|
|
|
existingSecret: gitea-credential
|
2025-05-30 09:25:14 +00:00
|
|
|
|
2024-11-20 15:18:39 +01:00
|
|
|
config:
|
2025-07-02 14:04:40 +00:00
|
|
|
APP_NAME: 'EDP'
|
|
|
|
|
APP_SLOGAN: 'Build your thing in minutes'
|
2025-05-27 16:33:20 +02:00
|
|
|
storage:
|
|
|
|
|
MINIO_ENDPOINT: obs.eu-de.otc.t-systems.com:443
|
|
|
|
|
STORAGE_TYPE: minio
|
|
|
|
|
MINIO_LOCATION: eu-de
|
2026-03-04 17:04:53 +01:00
|
|
|
MINIO_BUCKET: "{{{ getenv "FORGEJO_BUCKET_NAME" }}}"
|
2025-05-27 16:33:20 +02:00
|
|
|
MINIO_USE_SSL: true
|
|
|
|
|
|
2025-05-30 09:25:14 +00:00
|
|
|
queue:
|
|
|
|
|
TYPE: redis
|
|
|
|
|
|
|
|
|
|
session:
|
|
|
|
|
PROVIDER: redis
|
|
|
|
|
|
|
|
|
|
cache:
|
|
|
|
|
ENABLED: true
|
|
|
|
|
ADAPTER: redis
|
|
|
|
|
|
2026-03-17 14:06:06 +01:00
|
|
|
security:
|
|
|
|
|
GLOBAL_TWO_FACTOR_REQUIREMENT: admin
|
|
|
|
|
|
2025-04-12 16:17:20 +00:00
|
|
|
service:
|
|
|
|
|
DISABLE_REGISTRATION: true
|
2025-07-31 09:31:00 +00:00
|
|
|
ENABLE_NOTIFY_MAIL: true
|
2025-05-30 09:25:14 +00:00
|
|
|
|
2025-04-12 16:27:05 +00:00
|
|
|
other:
|
|
|
|
|
SHOW_FOOTER_VERSION: false
|
|
|
|
|
SHOW_FOOTER_TEMPLATE_LOAD_TIME: false
|
2025-05-30 09:25:14 +00:00
|
|
|
|
2024-11-20 15:18:39 +01:00
|
|
|
database:
|
2025-05-30 16:49:03 +02:00
|
|
|
DB_TYPE: postgres
|
2025-06-17 14:58:10 +02:00
|
|
|
SSL_MODE: verify-ca
|
2025-05-30 09:25:14 +00:00
|
|
|
|
2024-11-20 15:18:39 +01:00
|
|
|
server:
|
2025-02-24 23:10:05 +01:00
|
|
|
DOMAIN: '{{{ .Env.DOMAIN_GITEA }}}'
|
|
|
|
|
ROOT_URL: 'https://{{{ .Env.DOMAIN_GITEA }}}:443'
|
2025-05-30 09:25:14 +00:00
|
|
|
|
2025-03-20 23:47:53 +01:00
|
|
|
mailer:
|
|
|
|
|
ENABLED: true
|
2025-06-16 13:09:23 +02:00
|
|
|
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
|
2024-11-20 15:18:39 +01:00
|
|
|
|
|
|
|
|
service:
|
|
|
|
|
ssh:
|
2025-07-04 09:56:49 +02:00
|
|
|
type: LoadBalancer
|
2024-11-20 15:18:39 +01:00
|
|
|
nodePort: 32222
|
2025-07-04 09:56:49 +02:00
|
|
|
externalTrafficPolicy: Cluster
|
|
|
|
|
annotations:
|
2025-11-28 11:27:50 +01:00
|
|
|
kubernetes.io/elb.id: {{{ .Env.LOADBALANCER_ID }}}
|
2024-11-20 15:18:39 +01:00
|
|
|
|
|
|
|
|
image:
|
|
|
|
|
pullPolicy: "IfNotPresent"
|
|
|
|
|
# Overrides the image tag whose default is the chart appVersion.
|
|
|
|
|
#tag: "8.0.3"
|
|
|
|
|
# Adds -rootless suffix to image name
|
2025-07-02 09:51:57 +00:00
|
|
|
# rootless: true
|
2025-11-28 11:27:50 +01:00
|
|
|
fullOverride: {{{ getenv "CLIENT_REPO_DOMAIN" }}}/devfw-cicd/edp-forgejo:{{{ .Env.FORGEJO_IMAGE_TAG }}}
|
2024-11-22 12:01:16 +01:00
|
|
|
|
2026-03-10 09:39:08 +01:00
|
|
|
forgejo: {}
|