disabled postgres hook
This commit is contained in:
@@ -61,23 +61,22 @@ 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
|
||||
|
||||
#- 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:
|
||||
|
||||
Reference in New Issue
Block a user