disabled postgres hook

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

View File

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