Compare commits
6 Commits
23ec2bafc4
...
440c957581
Author | SHA1 | Date | |
---|---|---|---|
440c957581
|
|||
1bf8afdbdb | |||
076ae7ec7a | |||
b10d5db7c9 | |||
8184d5ecc7 | |||
df6079c87b |
@@ -25,7 +25,7 @@ dependencies:
|
|||||||
repository: https://argoproj.github.io/argo-helm
|
repository: https://argoproj.github.io/argo-helm
|
||||||
- name: postgres-cluster
|
- name: postgres-cluster
|
||||||
alias: postgres-17-cluster
|
alias: postgres-17-cluster
|
||||||
version: 6.4.2
|
version: 5.1.0
|
||||||
repository: oci://harbor.alexlebens.net/helm-charts
|
repository: oci://harbor.alexlebens.net/helm-charts
|
||||||
icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/argo-cd.png
|
icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/argo-cd.png
|
||||||
appVersion: v3.6.7
|
appVersion: v3.6.7
|
||||||
|
@@ -31,10 +31,10 @@ spec:
|
|||||||
apiVersion: external-secrets.io/v1
|
apiVersion: external-secrets.io/v1
|
||||||
kind: ExternalSecret
|
kind: ExternalSecret
|
||||||
metadata:
|
metadata:
|
||||||
name: argo-workflows-postgresql-17-cluster-backup-secret
|
name: argo-workflows-postgresql-17-backup-secret
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: argo-workflows-postgresql-17-cluster-backup-secret
|
app.kubernetes.io/name: argo-workflows-postgresql-17-backup-secret
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
|
@@ -90,7 +90,7 @@ argo-events:
|
|||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
postgres-17-cluster:
|
postgres-17-cluster:
|
||||||
mode: recovery
|
mode: standalone
|
||||||
cluster:
|
cluster:
|
||||||
storage:
|
storage:
|
||||||
storageClass: local-path
|
storageClass: local-path
|
||||||
@@ -103,15 +103,11 @@ postgres-17-cluster:
|
|||||||
recovery:
|
recovery:
|
||||||
method: objectStore
|
method: objectStore
|
||||||
objectStore:
|
objectStore:
|
||||||
|
endpointURL: https://nyc3.digitaloceanspaces.com
|
||||||
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/argo-workflows/argo-workflows-postgresql-17-cluster
|
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/argo-workflows/argo-workflows-postgresql-17-cluster
|
||||||
index: 4
|
recoveryIndex: 4
|
||||||
backup:
|
backup:
|
||||||
enabled: true
|
enabled: true
|
||||||
objectStore:
|
endpointURL: https://nyc3.digitaloceanspaces.com
|
||||||
- name: external
|
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/argo-workflows/argo-workflows-postgresql-17-cluster
|
||||||
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/argo-workflows/argo-workflows-postgresql-17-cluster
|
backupIndex: 4
|
||||||
index: 4
|
|
||||||
scheduledBackups:
|
|
||||||
- name: daily-backup
|
|
||||||
schedule: "0 0 */3 * *"
|
|
||||||
backupName: external
|
|
||||||
|
@@ -105,19 +105,33 @@ gatus:
|
|||||||
path: "postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}?sslmode=disable"
|
path: "postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}?sslmode=disable"
|
||||||
default-endpoint: &defaults
|
default-endpoint: &defaults
|
||||||
group: core
|
group: core
|
||||||
interval: 5m
|
|
||||||
client:
|
|
||||||
insecure: true
|
|
||||||
timeout: 30s
|
|
||||||
conditions:
|
conditions:
|
||||||
- "[STATUS] == 200"
|
- "[STATUS] == 200"
|
||||||
|
- "[DOMAIN_EXPIRATION] > 720h"
|
||||||
- "[CERTIFICATE_EXPIRATION] > 240h"
|
- "[CERTIFICATE_EXPIRATION] > 240h"
|
||||||
|
interval: 30s
|
||||||
alerts:
|
alerts:
|
||||||
- type: ntfy
|
- type: ntfy
|
||||||
|
|
||||||
endpoints:
|
endpoints:
|
||||||
- name: homepage
|
- name: homepage
|
||||||
<<: *defaults
|
|
||||||
url: https://home.alexlebens.net
|
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
|
||||||
|
|
||||||
postgres-17-cluster:
|
postgres-17-cluster:
|
||||||
mode: standalone
|
mode: standalone
|
||||||
|
@@ -17,8 +17,5 @@ dependencies:
|
|||||||
- name: cloudnative-pg
|
- name: cloudnative-pg
|
||||||
version: 0.24.0
|
version: 0.24.0
|
||||||
repository: https://cloudnative-pg.io/charts/
|
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
|
icon: https://avatars.githubusercontent.com/u/100373852?s=200&v=4
|
||||||
appVersion: 1.26.0
|
appVersion: 1.26.0
|
||||||
|
Reference in New Issue
Block a user