From dcc8e1a02a454d82b5fd9c17507947d8bd807d66 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 11 Dec 2025 17:56:32 -0600 Subject: [PATCH] add sentinel --- .../helm/gitea/templates/redis-sentinel.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 clusters/cl01tl/helm/gitea/templates/redis-sentinel.yaml diff --git a/clusters/cl01tl/helm/gitea/templates/redis-sentinel.yaml b/clusters/cl01tl/helm/gitea/templates/redis-sentinel.yaml new file mode 100644 index 000000000..2ca70456a --- /dev/null +++ b/clusters/cl01tl/helm/gitea/templates/redis-sentinel.yaml @@ -0,0 +1,23 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta2 +kind: RedisSentinel +metadata: + name: redis-sentinel-gitea + namespace: {{ .Release.Namespace }} + labels: + app.kubernetes.io/name: redis-sentinel-gitea + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/part-of: {{ .Release.Name }} +spec: + clusterSize: 3 + podSecurityContext: + runAsUser: 1000 + fsGroup: 1000 + redisSentinelConfig: + redisReplicationName: redis-replication-gitea + kubernetesConfig: + image: quay.io/opstree/redis-sentinel:v8.4.0 + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 10m + memory: 128Mi