2 Commits

Author SHA1 Message Date
c05420b187 add sentinel
Some checks failed
lint-test-helm / lint-helm (push) Successful in 39s
render-manifests-push / render-manifests-push (push) Successful in 1m17s
renovate / renovate (push) Failing after 10m59s
2025-12-11 20:48:15 -06:00
1a73e3d986 switchover 2025-12-11 20:45:22 -06:00
2 changed files with 26 additions and 16 deletions

View File

@@ -0,0 +1,23 @@
apiVersion: redis.redis.opstreelabs.in/v1beta2
kind: RedisSentinel
metadata:
name: redis-sentinel-harbor
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: redis-sentinel-harbor
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-harbor
kubernetesConfig:
image: quay.io/opstree/redis-sentinel:v8.4.0
imagePullPolicy: IfNotPresent
resources:
requests:
cpu: 10m
memory: 128Mi

View File

@@ -82,11 +82,11 @@ harbor:
database:
type: external
external:
host: harbor-postgresql-17-cluster-rw
host: harbor-postgresql-18-cluster-rw
port: "5432"
username: app
coreDatabase: app
existingSecret: harbor-postgresql-17-cluster-app
existingSecret: harbor-postgresql-18-cluster-app
redis:
type: external
external:
@@ -167,25 +167,12 @@ postgres-18-cluster:
prometheusRule:
enabled: true
recovery:
method: import
method: objectStore
objectStore:
destinationPath: s3://postgres-backups/cl01tl/harbor/harbor-postgresql-18-cluster
endpointURL: http://garage-main.garage:3900
index: 1
endpointCredentials: harbor-postgresql-18-cluster-backup-secret-garage
import:
type: "microservice"
databases:
- app
source:
host: "harbor-postgresql-17-cluster-rw"
port: 5432
username: app
database: app
sslMode: "disable"
passwordSecret:
name: "harbor-postgresql-17-cluster-app"
key: "password"
backup:
objectStore:
- name: external