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