disabled postgres hook

This commit is contained in:
2026-01-02 10:06:41 +11:00
parent e35b83caa7
commit fed4eafbf6

View File

@@ -61,24 +61,23 @@ spec:
onError: Continue
# Gitea PostgreSQL: checkpoint before backup
- name: gitea-postgres-checkpoint
includedNamespaces:
- gitea
labelSelector:
matchLabels:
app.kubernetes.io/name: postgresql
app.kubernetes.io/instance: gitea
pre:
- exec:
container: postgresql
command:
- /bin/bash
- -c
- PGPASSWORD=spVTpND34K psql -U postgres -c 'CHECKPOINT;'
timeout: 2m
onError: Continue
# Authentik PostgreSQL: checkpoint before backup
#- name: gitea-postgres-checkpoint
# includedNamespaces:
# - gitea
# labelSelector:
# matchLabels:
# app.kubernetes.io/name: postgresql
# app.kubernetes.io/instance: gitea
# pre:
# - exec:
# container: postgresql
# command:
# - /bin/bash
# - -c
# - PGPASSWORD=spVTpND34K psql -U postgres -c 'CHECKPOINT;'
# timeout: 2m
# onError: Continue
# Authentik PostgreSQL: checkpoint before backup
- name: authentik-postgres-checkpoint
includedNamespaces:
- authentik