refactor: switch to hclod object storage
All checks were successful
Renovate / renovate (push) Successful in 1m27s
All checks were successful
Renovate / renovate (push) Successful in 1m27s
This commit is contained in:
parent
4575f1b05d
commit
c49945a289
5 changed files with 15 additions and 14 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Binary file not shown.
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
@ -100,4 +100,4 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
runAsGroup: 1000
|
runAsGroup: 1000
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
|
|
Loading…
Reference in a new issue