chore: Update manifests after change

This commit is contained in:
2025-12-15 18:13:50 +00:00
parent dbec614c1e
commit 3c0deddd85
3 changed files with 27 additions and 5 deletions

View File

@@ -1,13 +1,13 @@
apiVersion: redis.redis.opstreelabs.in/v1beta2
kind: RedisSentinel
metadata:
name: redis-replication-gitea
name: redis-sentinel-gitea
namespace: gitea
labels:
helm.sh/chart: redis-replication-gitea-0.5.0
app.kubernetes.io/version: "0.5.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redis-replication-gitea
app.kubernetes.io/name: redis-sentinel-gitea
app.kubernetes.io/instance: gitea
app.kubernetes.io/part-of: gitea
spec:

View File

@@ -14,9 +14,9 @@ spec:
selector:
matchLabels:
app: redis-replication-gitea
redis_setup_type: sentinel
role: sentinel
redis_setup_type: replication
role: replication
endpoints:
- port: sentinel-client
- port: redis-exporter
interval: 30s
scrapeTimeout: 10s

View File

@@ -0,0 +1,22 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: redis-sentinel-gitea
namespace: gitea
labels:
helm.sh/chart: redis-replication-gitea-0.5.0
app.kubernetes.io/version: "0.5.0"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redis-sentinel-gitea
app.kubernetes.io/instance: gitea
app.kubernetes.io/part-of: gitea
spec:
selector:
matchLabels:
app: redis-sentinel-gitea
redis_setup_type: sentinel
role: sentinel
endpoints:
- port: sentinel-client
interval: 30s
scrapeTimeout: 10s