1 Commits

5 changed files with 21 additions and 28 deletions

View File

@@ -25,7 +25,7 @@ dependencies:
repository: https://argoproj.github.io/argo-helm
- name: postgres-cluster
alias: postgres-17-cluster
version: 5.1.0
version: 6.4.2
repository: oci://harbor.alexlebens.net/helm-charts
icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/argo-cd.png
appVersion: v3.6.7

View File

@@ -31,10 +31,10 @@ spec:
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: argo-workflows-postgresql-17-backup-secret
name: argo-workflows-postgresql-17-cluster-backup-secret
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: argo-workflows-postgresql-17-backup-secret
app.kubernetes.io/name: argo-workflows-postgresql-17-cluster-backup-secret
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:

View File

@@ -90,7 +90,7 @@ argo-events:
cpu: 10m
memory: 128Mi
postgres-17-cluster:
mode: standalone
mode: recovery
cluster:
storage:
storageClass: local-path
@@ -103,11 +103,15 @@ postgres-17-cluster:
recovery:
method: objectStore
objectStore:
endpointURL: https://nyc3.digitaloceanspaces.com
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/argo-workflows/argo-workflows-postgresql-17-cluster
recoveryIndex: 4
index: 4
backup:
enabled: true
endpointURL: https://nyc3.digitaloceanspaces.com
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/argo-workflows/argo-workflows-postgresql-17-cluster
backupIndex: 4
objectStore:
- name: external
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/argo-workflows/argo-workflows-postgresql-17-cluster
index: 4
scheduledBackups:
- name: daily-backup
schedule: "0 0 */3 * *"
backupName: external

View File

@@ -105,33 +105,19 @@ gatus:
path: "postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}?sslmode=disable"
default-endpoint: &defaults
group: core
interval: 5m
client:
insecure: true
timeout: 30s
conditions:
- "[STATUS] == 200"
- "[DOMAIN_EXPIRATION] > 720h"
- "[CERTIFICATE_EXPIRATION] > 240h"
interval: 30s
alerts:
- type: ntfy
endpoints:
- name: homepage
url: https://home.alexlebens.net
<<: *defaults
- name: discord
group: external
url: https://discord.com/app
conditions:
- "[STATUS] == 200"
- "[RESPONSE_TIME] < 100"
interval: 10s
- name: reddit
group: external
url: https://reddit.com
conditions:
- "[STATUS] == 200"
- "[RESPONSE_TIME] < 100"
interval: 10s
url: https://home.alexlebens.net
postgres-17-cluster:
mode: standalone

View File

@@ -17,5 +17,8 @@ dependencies:
- name: cloudnative-pg
version: 0.24.0
repository: https://cloudnative-pg.io/charts/
- name: barman-cloud
version: 0.2.5
repository: oci://harbor.alexlebens.net/helm-charts
icon: https://avatars.githubusercontent.com/u/100373852?s=200&v=4
appVersion: 1.26.0