diff --git a/clusters/cl01tl/helm/postiz/Chart.lock b/clusters/cl01tl/helm/postiz/Chart.lock index c26c8055c..59aafd0fc 100644 --- a/clusters/cl01tl/helm/postiz/Chart.lock +++ b/clusters/cl01tl/helm/postiz/Chart.lock @@ -8,5 +8,8 @@ dependencies: - name: postgres-cluster repository: oci://harbor.alexlebens.net/helm-charts version: 6.16.1 -digest: sha256:3fcb924dbb789c22a0612b34a06c5798fd4bdb4959b061558b07085d983a0598 -generated: "2025-12-14T15:52:23.915353-06:00" +- name: redis-replication + repository: oci://harbor.alexlebens.net/helm-charts + version: 0.5.0 +digest: sha256:ea675dc20c6307200046ef1182592dd408738e0c9bb344136ddab5328a64539a +generated: "2025-12-15T13:26:42.890155-06:00" diff --git a/clusters/cl01tl/helm/postiz/Chart.yaml b/clusters/cl01tl/helm/postiz/Chart.yaml index 49bdb93d4..16561d9a5 100644 --- a/clusters/cl01tl/helm/postiz/Chart.yaml +++ b/clusters/cl01tl/helm/postiz/Chart.yaml @@ -28,5 +28,8 @@ dependencies: alias: postgres-18-cluster version: 6.16.1 repository: oci://harbor.alexlebens.net/helm-charts + - name: redis-replication + version: 0.5.0 + repository: oci://harbor.alexlebens.net/helm-charts icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/postiz.png appVersion: v2.10.1 diff --git a/clusters/cl01tl/helm/postiz/templates/redis-replication.yaml b/clusters/cl01tl/helm/postiz/templates/redis-replication.yaml deleted file mode 100644 index b22637153..000000000 --- a/clusters/cl01tl/helm/postiz/templates/redis-replication.yaml +++ /dev/null @@ -1,35 +0,0 @@ -apiVersion: redis.redis.opstreelabs.in/v1beta2 -kind: RedisReplication -metadata: - name: redis-replication-postiz - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: redis-replication-postiz - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - clusterSize: 3 - podSecurityContext: - runAsUser: 1000 - fsGroup: 1000 - kubernetesConfig: - image: quay.io/opstree/redis:v8.4.0 - imagePullPolicy: IfNotPresent - redisSecret: - name: postiz-redis-config - key: password - resources: - requests: - cpu: 50m - memory: 128Mi - storage: - volumeClaimTemplate: - spec: - storageClassName: ceph-block - accessModes: ["ReadWriteOnce"] - resources: - requests: - storage: 1Gi - redisExporter: - enabled: true - image: quay.io/opstree/redis-exporter:v1.80.1 diff --git a/clusters/cl01tl/helm/postiz/templates/service-monitor.yaml b/clusters/cl01tl/helm/postiz/templates/service-monitor.yaml deleted file mode 100644 index c7e86c00f..000000000 --- a/clusters/cl01tl/helm/postiz/templates/service-monitor.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - name: redis-replication-postiz - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: redis-replication-postiz - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/part-of: {{ .Release.Name }} - redis-operator: "true" - env: production -spec: - selector: - matchLabels: - redis_setup_type: replication - endpoints: - - port: redis-exporter - interval: 30s - scrapeTimeout: 10s diff --git a/clusters/cl01tl/helm/postiz/values.yaml b/clusters/cl01tl/helm/postiz/values.yaml index 8b5f05ab3..2ce69f6f3 100644 --- a/clusters/cl01tl/helm/postiz/values.yaml +++ b/clusters/cl01tl/helm/postiz/values.yaml @@ -166,3 +166,11 @@ postgres-18-cluster: # immediate: true # schedule: "0 14 4 * * SAT" # backupName: garage-remote +redis-replication: + existingSecret: + enabled: false + redisReplication: + clusterSize: 3 + redisSentinel: + enabled: true + clusterSize: 3