refactor: switch to hclod object storage
All checks were successful
Renovate / renovate (push) Successful in 1m27s

This commit is contained in:
Peter 2024-10-10 21:33:02 +02:00
parent 4575f1b05d
commit c49945a289
Signed by: prskr
GPG key ID: F56BED6903BC5E37
5 changed files with 15 additions and 14 deletions

View file

@ -14,5 +14,6 @@ spec:
parameters: parameters:
max_client_conn: "1000" max_client_conn: "1000"
default_pool_size: "10" default_pool_size: "10"
ignore_startup_parameters: "search_path"
monitoring: monitoring:
enablePodMonitor: true enablePodMonitor: true

View file

@ -65,10 +65,10 @@ gitea:
PROVIDER_CONFIG: redis://forgejo-session.forgejo.svc:6379/0?pool_size=100&idle_timeout=180s& PROVIDER_CONFIG: redis://forgejo-session.forgejo.svc:6379/0?pool_size=100&idle_timeout=180s&
storage: storage:
STORAGE_TYPE: minio STORAGE_TYPE: minio
MINIO_ENDPOINT: garage.garage.svc:3900 MINIO_ENDPOINT: fsn1.your-objectstorage.com:443
MINIO_BUCKET: forgejo MINIO_BUCKET: 1661580-forgejo
MINIO_LOCATION: hel1 MINIO_LOCATION: auto
MINIO_USE_SSL: "false" MINIO_USE_SSL: "true"
indexer: indexer:
ISSUE_INDEXER_TYPE: meilisearch ISSUE_INDEXER_TYPE: meilisearch
ISSUE_INDEXER_NAME: gitea_issues ISSUE_INDEXER_NAME: gitea_issues

View file

@ -2,7 +2,7 @@
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
name: sync-garage-blog name: sync-garage-forgejo
namespace: garage namespace: garage
spec: spec:
ttlSecondsAfterFinished: 100 ttlSecondsAfterFinished: 100
@ -20,8 +20,8 @@ spec:
- --ignore-errors - --ignore-errors
- -s3-upload-concurrency 64 - -s3-upload-concurrency 64
- -v - -v
- garage:blog - garage:forgejo
- hcloud:1661580-blog - hcloud:1661580-forgejo
volumeMounts: volumeMounts:
- name: rclone-config - name: rclone-config
mountPath: /config/rclone mountPath: /config/rclone

View file

@ -4,7 +4,7 @@ kind: Deployment
metadata: metadata:
name: umami name: umami
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: umami app.kubernetes.io/name: umami
@ -25,7 +25,7 @@ spec:
- name: DATABASE_URL - name: DATABASE_URL
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: db-credentials-umami name: default-cluster-pguser-umami
key: PQ_URL key: PQ_URL
envFrom: envFrom:
- configMapRef: - configMapRef:
@ -66,9 +66,9 @@ spec:
memory: "256Mi" memory: "256Mi"
cpu: "300m" cpu: "300m"
ports: ports:
- containerPort: 3000 - containerPort: 3000
protocol: TCP protocol: TCP
name: web name: web
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /api/heartbeat path: /api/heartbeat