From 7c7d39320eaeed158d2f582cd0454ca35b9079c4 Mon Sep 17 00:00:00 2001 From: gitea-bot Date: Mon, 15 Dec 2025 19:28:45 +0000 Subject: [PATCH] chore: Update manifests after change --- ...sReplication-redis-replication-postiz.yaml | 21 +++++++------- .../RedisSentinel-redis-sentinel-postiz.yaml | 29 +++++++++++++++++++ ...rviceMonitor-redis-replication-postiz.yaml | 7 +++-- .../ServiceMonitor-redis-sentinel-postiz.yaml | 22 ++++++++++++++ 4 files changed, 67 insertions(+), 12 deletions(-) create mode 100644 clusters/cl01tl/manifests/postiz/RedisSentinel-redis-sentinel-postiz.yaml create mode 100644 clusters/cl01tl/manifests/postiz/ServiceMonitor-redis-sentinel-postiz.yaml diff --git a/clusters/cl01tl/manifests/postiz/RedisReplication-redis-replication-postiz.yaml b/clusters/cl01tl/manifests/postiz/RedisReplication-redis-replication-postiz.yaml index 3cce0f853..8162e4a53 100644 --- a/clusters/cl01tl/manifests/postiz/RedisReplication-redis-replication-postiz.yaml +++ b/clusters/cl01tl/manifests/postiz/RedisReplication-redis-replication-postiz.yaml @@ -4,32 +4,33 @@ metadata: name: redis-replication-postiz namespace: postiz labels: + helm.sh/chart: redis-replication-0.5.0 + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: redis-replication-postiz app.kubernetes.io/instance: postiz app.kubernetes.io/part-of: postiz spec: clusterSize: 3 podSecurityContext: - runAsUser: 1000 fsGroup: 1000 + runAsUser: 1000 kubernetesConfig: - image: quay.io/opstree/redis:v8.4.0 + image: "quay.io/opstree/redis:v8.4.0" imagePullPolicy: IfNotPresent - redisSecret: - name: postiz-redis-config - key: password resources: requests: - cpu: 50m - memory: 128Mi + cpu: 10m + memory: 32Mi storage: volumeClaimTemplate: spec: - storageClassName: ceph-block - accessModes: ["ReadWriteOnce"] + accessModes: + - ReadWriteOnce resources: requests: storage: 1Gi + storageClassName: ceph-block redisExporter: enabled: true - image: quay.io/opstree/redis-exporter:v1.80.1 + image: "quay.io/opstree/redis-exporter:v1.80.1" diff --git a/clusters/cl01tl/manifests/postiz/RedisSentinel-redis-sentinel-postiz.yaml b/clusters/cl01tl/manifests/postiz/RedisSentinel-redis-sentinel-postiz.yaml new file mode 100644 index 000000000..0feed4f84 --- /dev/null +++ b/clusters/cl01tl/manifests/postiz/RedisSentinel-redis-sentinel-postiz.yaml @@ -0,0 +1,29 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta2 +kind: RedisSentinel +metadata: + name: redis-sentinel-postiz + namespace: postiz + labels: + helm.sh/chart: redis-replication-0.5.0 + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: redis-sentinel-postiz + app.kubernetes.io/instance: postiz + app.kubernetes.io/part-of: postiz +spec: + clusterSize: 3 + podSecurityContext: + fsGroup: 1000 + runAsUser: 1000 + redisSentinelConfig: + redisReplicationName: redis-replication-postiz + kubernetesConfig: + image: "quay.io/opstree/redis-sentinel:v8.4.0" + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 10m + memory: 32Mi + redisExporter: + enabled: true + image: "quay.io/opstree/redis-exporter:v1.80.1" diff --git a/clusters/cl01tl/manifests/postiz/ServiceMonitor-redis-replication-postiz.yaml b/clusters/cl01tl/manifests/postiz/ServiceMonitor-redis-replication-postiz.yaml index cf7fbd52d..afd2f7e8a 100644 --- a/clusters/cl01tl/manifests/postiz/ServiceMonitor-redis-replication-postiz.yaml +++ b/clusters/cl01tl/manifests/postiz/ServiceMonitor-redis-replication-postiz.yaml @@ -4,15 +4,18 @@ metadata: name: redis-replication-postiz namespace: postiz labels: + helm.sh/chart: redis-replication-0.5.0 + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: redis-replication-postiz app.kubernetes.io/instance: postiz app.kubernetes.io/part-of: postiz - redis-operator: "true" - env: production spec: selector: matchLabels: + app: redis-replication-postiz redis_setup_type: replication + role: replication endpoints: - port: redis-exporter interval: 30s diff --git a/clusters/cl01tl/manifests/postiz/ServiceMonitor-redis-sentinel-postiz.yaml b/clusters/cl01tl/manifests/postiz/ServiceMonitor-redis-sentinel-postiz.yaml new file mode 100644 index 000000000..95a39759e --- /dev/null +++ b/clusters/cl01tl/manifests/postiz/ServiceMonitor-redis-sentinel-postiz.yaml @@ -0,0 +1,22 @@ +apiVersion: monitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + name: redis-sentinel-postiz + namespace: postiz + labels: + helm.sh/chart: redis-replication-0.5.0 + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: redis-sentinel-postiz + app.kubernetes.io/instance: postiz + app.kubernetes.io/part-of: postiz +spec: + selector: + matchLabels: + app: redis-sentinel-postiz + redis_setup_type: sentinel + role: sentinel + endpoints: + - port: sentinel-client + interval: 30s + scrapeTimeout: 10s