diff --git a/projects/gitea/manifests/redis.yaml b/projects/gitea/manifests/redis.yaml new file mode 100644 index 00000000..75b3ee8b --- /dev/null +++ b/projects/gitea/manifests/redis.yaml @@ -0,0 +1,12 @@ +apiVersion: databases.spotahome.com/v1 +kind: RedisFailover +metadata: + name: gitea-redis + namespace: gitea +spec: + sentinel: + replicas: 1 + redis: + replicas: 1 + auth: + secretPath: redis-auth diff --git a/projects/gitea/project.yml b/projects/gitea/project.yml index a02531de..f9cd0c26 100644 --- a/projects/gitea/project.yml +++ b/projects/gitea/project.yml @@ -26,3 +26,6 @@ apps: keys: - secretkey - accesskey + - name: redis-auth + keys: + - password diff --git a/projects/gitea/values/gitea.yaml b/projects/gitea/values/gitea.yaml index 525f885d..38bbbbcd 100644 --- a/projects/gitea/values/gitea.yaml +++ b/projects/gitea/values/gitea.yaml @@ -136,6 +136,8 @@ gitea: PROXY_ENABLED: true PROXY_URL: "http://proxy-squid.proxy.svc.cluster.local:3128" PROXY_HOSTS: "github.com" + queue: + CONN_STR: "redis+cluster://rfs-gitea-redis.gitea.svc.cluster.local:6379/0" additionalConfigFromEnvs: - name: GITEA__DATABASE__PASSWD