diff --git a/clusters/cl01tl/helm/outline/Chart.lock b/clusters/cl01tl/helm/outline/Chart.lock index 5968f487b..b6ccfd816 100644 --- a/clusters/cl01tl/helm/outline/Chart.lock +++ b/clusters/cl01tl/helm/outline/Chart.lock @@ -8,5 +8,8 @@ dependencies: - name: postgres-cluster repository: oci://harbor.alexlebens.net/helm-charts version: 6.16.1 -digest: sha256:b6d7e23b8444927e00c87a48250e74e38d7bef6355f2ae1f50d46b7fce4e6cd6 -generated: "2025-12-14T21:02:10.870641-06:00" +- name: redis-replication + repository: oci://harbor.alexlebens.net/helm-charts + version: 0.5.0 +digest: sha256:d5eb57f6788699a4cf224fd6ae1b96cfc52968bf3ef53ef9a18f06611a6894fd +generated: "2025-12-15T13:24:27.998872-06:00" diff --git a/clusters/cl01tl/helm/outline/Chart.yaml b/clusters/cl01tl/helm/outline/Chart.yaml index 0581eddb2..8be91f33d 100644 --- a/clusters/cl01tl/helm/outline/Chart.yaml +++ b/clusters/cl01tl/helm/outline/Chart.yaml @@ -30,5 +30,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/outline.png appVersion: 1.1.0 diff --git a/clusters/cl01tl/helm/outline/templates/redis-replication.yaml b/clusters/cl01tl/helm/outline/templates/redis-replication.yaml deleted file mode 100644 index bef3bf50f..000000000 --- a/clusters/cl01tl/helm/outline/templates/redis-replication.yaml +++ /dev/null @@ -1,32 +0,0 @@ -apiVersion: redis.redis.opstreelabs.in/v1beta2 -kind: RedisReplication -metadata: - name: redis-replication-outline - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: redis-replication-outline - 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 - 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/outline/templates/redis-sentinel.yaml b/clusters/cl01tl/helm/outline/templates/redis-sentinel.yaml deleted file mode 100644 index a5e2db244..000000000 --- a/clusters/cl01tl/helm/outline/templates/redis-sentinel.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: redis.redis.opstreelabs.in/v1beta2 -kind: RedisSentinel -metadata: - name: redis-sentinel-outline - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: redis-sentinel-outline - 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-outline - kubernetesConfig: - image: quay.io/opstree/redis-sentinel:v8.4.0 - imagePullPolicy: IfNotPresent - resources: - requests: - cpu: 10m - memory: 128Mi diff --git a/clusters/cl01tl/helm/outline/templates/service-monitor.yaml b/clusters/cl01tl/helm/outline/templates/service-monitor.yaml deleted file mode 100644 index e5f767b2d..000000000 --- a/clusters/cl01tl/helm/outline/templates/service-monitor.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - name: redis-replication-outline - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: redis-replication-outline - 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/outline/values.yaml b/clusters/cl01tl/helm/outline/values.yaml index 3743afae8..1a6549400 100644 --- a/clusters/cl01tl/helm/outline/values.yaml +++ b/clusters/cl01tl/helm/outline/values.yaml @@ -206,3 +206,11 @@ postgres-18-cluster: # immediate: true # schedule: "0 10 4 * * SAT" # backupName: garage-remote +redis-replication: + existingSecret: + enabled: false + redisReplication: + clusterSize: 3 + redisSentinel: + enabled: true + clusterSize: 3