mirror of
https://github.com/nold360/hive-apps
synced 2025-01-10 07:46:17 +00:00
add(gitea): redis
This commit is contained in:
parent
c81ba151cc
commit
5cb6653626
3 changed files with 17 additions and 0 deletions
projects/gitea
12
projects/gitea/manifests/redis.yaml
Normal file
12
projects/gitea/manifests/redis.yaml
Normal file
|
@ -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
|
|
@ -26,3 +26,6 @@ apps:
|
|||
keys:
|
||||
- secretkey
|
||||
- accesskey
|
||||
- name: redis-auth
|
||||
keys:
|
||||
- password
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue