diff --git a/clusters/cl01tl/manifests/postiz/RedisReplication-redis-replication-postiz.yaml b/clusters/cl01tl/manifests/postiz/RedisReplication-redis-replication-postiz.yaml index 2ff373db6..90308727a 100644 --- a/clusters/cl01tl/manifests/postiz/RedisReplication-redis-replication-postiz.yaml +++ b/clusters/cl01tl/manifests/postiz/RedisReplication-redis-replication-postiz.yaml @@ -4,8 +4,8 @@ metadata: name: redis-replication-postiz namespace: postiz labels: - helm.sh/chart: redis-replication-0.5.0 - app.kubernetes.io/version: "0.5.0" + helm.sh/chart: redis-replication-1.0.1 + app.kubernetes.io/version: "1.0.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: redis-replication-postiz app.kubernetes.io/instance: postiz @@ -37,3 +37,14 @@ spec: redisExporter: enabled: true image: "quay.io/opstree/redis-exporter:v1.80.1" + sentinel: + image: "quay.io/opstree/redis-sentinel:v8.4.0" + imagePullPolicy: IfNotPresent + redisSecret: + name: postiz-redis-config + key: password + resources: + requests: + cpu: 10m + memory: 32Mi + size: 3 diff --git a/clusters/cl01tl/manifests/postiz/RedisSentinel-redis-sentinel-postiz.yaml b/clusters/cl01tl/manifests/postiz/RedisSentinel-redis-sentinel-postiz.yaml deleted file mode 100644 index d2fa2c97c..000000000 --- a/clusters/cl01tl/manifests/postiz/RedisSentinel-redis-sentinel-postiz.yaml +++ /dev/null @@ -1,36 +0,0 @@ -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 - redisReplicationPassword: - secretKeyRef: - name: postiz-redis-config - key: password - kubernetesConfig: - image: "quay.io/opstree/redis-sentinel:v8.4.0" - imagePullPolicy: IfNotPresent - resources: - requests: - cpu: 10m - memory: 32Mi - redisSecret: - name: postiz-redis-config - key: password - 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 afd2f7e8a..b04fa1f91 100644 --- a/clusters/cl01tl/manifests/postiz/ServiceMonitor-redis-replication-postiz.yaml +++ b/clusters/cl01tl/manifests/postiz/ServiceMonitor-redis-replication-postiz.yaml @@ -4,8 +4,8 @@ metadata: name: redis-replication-postiz namespace: postiz labels: - helm.sh/chart: redis-replication-0.5.0 - app.kubernetes.io/version: "0.5.0" + helm.sh/chart: redis-replication-1.0.1 + app.kubernetes.io/version: "1.0.1" app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: redis-replication-postiz app.kubernetes.io/instance: postiz diff --git a/clusters/cl01tl/manifests/postiz/ServiceMonitor-redis-sentinel-postiz.yaml b/clusters/cl01tl/manifests/postiz/ServiceMonitor-redis-sentinel-postiz.yaml deleted file mode 100644 index 95a39759e..000000000 --- a/clusters/cl01tl/manifests/postiz/ServiceMonitor-redis-sentinel-postiz.yaml +++ /dev/null @@ -1,22 +0,0 @@ -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