3 Commits

Author SHA1 Message Date
32d28022f8 Merge branch 'main' of https://gitea.alexlebens.net/alexlebens/infrastructure
Some checks failed
lint-test-helm / lint-helm (push) Successful in 15s
render-manifests-push / render-manifests-push (push) Successful in 27s
renovate / renovate (push) Has been cancelled
2025-12-15 14:13:54 -06:00
117af5fd25 ignore oci in lint test 2025-12-15 14:13:04 -06:00
ecee1da208 upgrade chart 2025-12-15 13:52:47 -06:00
8 changed files with 49 additions and 26 deletions

View File

@@ -124,7 +124,13 @@ jobs:
helm dependency list --max-col-width 120 clusters/${CLUSTER}/helm/$dir 2> /dev/null \ helm dependency list --max-col-width 120 clusters/${CLUSTER}/helm/$dir 2> /dev/null \
| tail +2 | head -n -1 \ | tail +2 | head -n -1 \
| awk '{ print "helm repo add " $1 " " $3 }' \ | awk '{ print "helm repo add " $1 " " $3 }' \
| while read cmd; do echo "$cmd" | sh; done || true | while read cmd; do
if [[ "$cmd" == "helm repo add oci:*" ]]; then
echo ">> Ignoring OCI repo"
else
echo "$cmd" | sh;
fi
done || true
done done
if helm repo list | tail +2 | read -r; then if helm repo list | tail +2 | read -r; then

View File

@@ -106,7 +106,13 @@ jobs:
helm dependency list --max-col-width 120 ${MAIN_DIR}/clusters/${CLUSTER}/helm/$dir 2> /dev/null \ helm dependency list --max-col-width 120 ${MAIN_DIR}/clusters/${CLUSTER}/helm/$dir 2> /dev/null \
| tail +2 | head -n -1 \ | tail +2 | head -n -1 \
| awk '{ print "helm repo add " $1 " " $3 }' \ | awk '{ print "helm repo add " $1 " " $3 }' \
| while read cmd; do echo "$cmd" | sh; done || true | while read cmd; do
if [[ "$cmd" == "helm repo add oci:*" ]]; then
echo ">> Ignoring OCI repo"
else
echo "$cmd" | sh;
fi
done || true
done done
if helm repo list | tail +2 | read -r; then if helm repo list | tail +2 | read -r; then

View File

@@ -91,7 +91,13 @@ jobs:
helm dependency list --max-col-width 120 ${MAIN_DIR}/clusters/${CLUSTER}/helm/$dir 2> /dev/null \ helm dependency list --max-col-width 120 ${MAIN_DIR}/clusters/${CLUSTER}/helm/$dir 2> /dev/null \
| tail +2 | head -n -1 \ | tail +2 | head -n -1 \
| awk '{ print "helm repo add " $1 " " $3 }' \ | awk '{ print "helm repo add " $1 " " $3 }' \
| while read cmd; do echo "$cmd" | sh; done || true | while read cmd; do
if [[ "$cmd" == "helm repo add oci:*" ]]; then
echo ">> Ignoring OCI repo"
else
echo "$cmd" | sh;
fi
done || true
done done
if helm repo list | tail +2 | read -r; then if helm repo list | tail +2 | read -r; then

View File

@@ -111,7 +111,13 @@ jobs:
helm dependency list --max-col-width 120 ${MAIN_DIR}/clusters/${CLUSTER}/helm/$dir 2> /dev/null \ helm dependency list --max-col-width 120 ${MAIN_DIR}/clusters/${CLUSTER}/helm/$dir 2> /dev/null \
| tail +2 | head -n -1 \ | tail +2 | head -n -1 \
| awk '{ print "helm repo add " $1 " " $3 }' \ | awk '{ print "helm repo add " $1 " " $3 }' \
| while read cmd; do echo "$cmd" | sh; done || true | while read cmd; do
if [[ "$cmd" == "helm repo add oci:*" ]]; then
echo ">> Ignoring OCI repo"
else
echo "$cmd" | sh;
fi
done || true
done done
if helm repo list | tail +2 | read -r; then if helm repo list | tail +2 | read -r; then

View File

@@ -109,7 +109,13 @@ jobs:
helm dependency list --max-col-width 120 ${MAIN_DIR}/clusters/${CLUSTER}/helm/$dir 2> /dev/null \ helm dependency list --max-col-width 120 ${MAIN_DIR}/clusters/${CLUSTER}/helm/$dir 2> /dev/null \
| tail +2 | head -n -1 \ | tail +2 | head -n -1 \
| awk '{ print "helm repo add " $1 " " $3 }' \ | awk '{ print "helm repo add " $1 " " $3 }' \
| while read cmd; do echo "$cmd" | sh; done || true | while read cmd; do
if [[ "$cmd" == "helm repo add oci:*" ]]; then
echo ">> Ignoring OCI repo"
else
echo "$cmd" | sh;
fi
done || true
done done
if helm repo list | tail +2 | read -r; then if helm repo list | tail +2 | read -r; then

View File

@@ -7,6 +7,6 @@ dependencies:
version: 2.4.19 version: 2.4.19
- name: postgres-cluster - name: postgres-cluster
repository: oci://harbor.alexlebens.net/helm-charts repository: oci://harbor.alexlebens.net/helm-charts
version: 6.16.1 version: 7.1.0
digest: sha256:40a93dfcabbc5746682bac631e9a620588cf0cb6fdf79a42446a823e93a531c8 digest: sha256:b4fcf50b5743319401cfa044eecbd44a13ccdae1791e8661bad4ad74f0138673
generated: "2025-12-11T15:49:57.970719-06:00" generated: "2025-12-15T13:52:19.76725-06:00"

View File

@@ -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-18-cluster alias: postgres-18-cluster
version: 6.16.1 version: 7.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.7.6 appVersion: v3.7.6

View File

@@ -78,17 +78,10 @@ argo-events:
postgres-18-cluster: postgres-18-cluster:
mode: recovery mode: recovery
cluster: cluster:
image:
repository: ghcr.io/cloudnative-pg/postgresql
tag: 18.1-standard-trixie
storage: storage:
storageClass: local-path storageClass: local-path
walStorage: walStorage:
storageClass: local-path storageClass: local-path
monitoring:
enabled: true
prometheusRule:
enabled: true
recovery: recovery:
method: objectStore method: objectStore
objectStore: objectStore:
@@ -98,11 +91,6 @@ postgres-18-cluster:
endpointCredentials: argo-workflows-postgresql-18-cluster-backup-secret-garage endpointCredentials: argo-workflows-postgresql-18-cluster-backup-secret-garage
backup: backup:
objectStore: objectStore:
- name: external
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/argo-workflows/argo-workflows-postgresql-18-cluster
index: 1
retentionPolicy: "30d"
isWALArchiver: false
- name: garage-local - name: garage-local
destinationPath: s3://postgres-backups/cl01tl/argo-workflows/argo-workflows-postgresql-18-cluster destinationPath: s3://postgres-backups/cl01tl/argo-workflows/argo-workflows-postgresql-18-cluster
index: 1 index: 1
@@ -111,6 +99,11 @@ postgres-18-cluster:
endpointCredentialsIncludeRegion: true endpointCredentialsIncludeRegion: true
retentionPolicy: "3d" retentionPolicy: "3d"
isWALArchiver: true isWALArchiver: true
# - name: external
# destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/argo-workflows/argo-workflows-postgresql-18-cluster
# index: 1
# retentionPolicy: "30d"
# isWALArchiver: false
# - name: garage-remote # - name: garage-remote
# destinationPath: s3://postgres-backups/cl01tl/argo-workflows/argo-workflows-postgresql-18-cluster # destinationPath: s3://postgres-backups/cl01tl/argo-workflows/argo-workflows-postgresql-18-cluster
# index: 1 # index: 1
@@ -121,16 +114,16 @@ postgres-18-cluster:
# data: # data:
# compression: bzip2 # compression: bzip2
scheduledBackups: scheduledBackups:
- name: daily-backup
suspend: false
immediate: true
schedule: "0 0 0 * * *"
backupName: external
- name: live-backup - name: live-backup
suspend: false suspend: false
immediate: true immediate: true
schedule: "0 0 0 * * *" schedule: "0 0 0 * * *"
backupName: garage-local backupName: garage-local
# - name: daily-backup
# suspend: false
# immediate: true
# schedule: "0 0 0 * * *"
# backupName: external
# - name: weekly-backup # - name: weekly-backup
# suspend: true # suspend: true
# immediate: true # immediate: true