fix(gitea): forgeo migration

This commit is contained in:
nold 2023-07-25 21:48:23 +02:00
parent 32ae9eae5a
commit d562867b39
2 changed files with 24 additions and 24 deletions

View file

@ -8,28 +8,29 @@ spec:
imageName: ghcr.io/cloudnative-pg/postgresql:15 imageName: ghcr.io/cloudnative-pg/postgresql:15
bootstrap: bootstrap:
recovery: initdb:
source: gitea-db database: app
owner: app
# backup:
# barmanObjectStore:
# destinationPath: "s3://gitea-db/"
# endpointURL: "http://minio.minio.svc.cluster.local:9000"
# s3Credentials:
# accessKeyId:
# name: bucket
# key: accesskey
# secretAccessKey:
# name: bucket
# key: secretkey
# wal:
# compression: gzip
# #encryption: AES256
# data:
# compression: gzip
# #encryption: AES256
# retentionPolicy: "90d"
backup:
barmanObjectStore:
destinationPath: "s3://gitea-db/"
endpointURL: "http://minio.minio.svc.cluster.local:9000"
s3Credentials:
accessKeyId:
name: bucket
key: accesskey
secretAccessKey:
name: bucket
key: secretkey
wal:
compression: gzip
#encryption: AES256
data:
compression: gzip
#encryption: AES256
retentionPolicy: "90d"
#
resources: resources:
requests: requests:
memory: "64Mi" memory: "64Mi"
@ -55,7 +56,6 @@ spec:
key: secretkey key: secretkey
wal: wal:
maxParallel: 8 maxParallel: 8
--- ---
apiVersion: postgresql.cnpg.io/v1 apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup kind: ScheduledBackup

View file

@ -3,7 +3,7 @@ image:
registry: "codeberg.org" registry: "codeberg.org"
repository: forgejo/forgejo repository: forgejo/forgejo
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
tag: "" tag: "1.20.1-0"
pullPolicy: Always pullPolicy: Always
rootless: true rootless: true
@ -105,7 +105,7 @@ gitea:
#customEmailUrl: #customEmailUrl:
config: config:
APP_NAME: "Git with a lot of coffee" APP_NAME: "Let's forge some forks"
webhook: webhook:
ALLOWED_HOST_LIST: argocd-server.argocd.svc.cluster.local ALLOWED_HOST_LIST: argocd-server.argocd.svc.cluster.local
ui: ui: