fix: Gitea | use redis for queue

This commit is contained in:
2024-10-12 18:26:54 +05:00
parent 70736f440e
commit db935d355c
2 changed files with 27 additions and 0 deletions

View File

@@ -108,3 +108,23 @@ metadata:
operator.1password.io/auto-restart: "true"
spec:
itemPath: "vaults/Lab/items/gitea-oauth"
---
apiVersion: onepassword.com/v1
kind: OnePasswordItem
metadata:
name: gitea-elasticsearch
namespace: gitea-system
annotations:
operator.1password.io/auto-restart: "true"
spec:
itemPath: "vaults/Lab/items/gitea-elasticsearch"
---
apiVersion: onepassword.com/v1
kind: OnePasswordItem
metadata:
name: gitea-redis
namespace: gitea-system
annotations:
operator.1password.io/auto-restart: "true"
spec:
itemPath: "vaults/Lab/items/gitea-redis"

View File

@@ -50,6 +50,8 @@ gitea:
session:
PROVIDER: db
PROVIDER_CONFIG: ""
queue:
TYPE: redis
lfs:
STORAGE_TYPE: local
service:
@@ -69,6 +71,11 @@ gitea:
secretKeyRef:
name: gitea-postgres
key: password
- name: GITEA__QUEUE__CONN_STR
valueFrom:
secretKeyRef:
name: gitea-redis
key: password
persistence:
enabled: true
accessModes: