diff --git a/hedgedoc/other-manifests/restore.yml b/hedgedoc/other-manifests/restore.yml index 9a5bcdb114bd8dcbacc7ded98bc3376650263d2f..58a9622281276ad13bad0b15357d8a07dfbc3125 100644 --- a/hedgedoc/other-manifests/restore.yml +++ b/hedgedoc/other-manifests/restore.yml @@ -24,7 +24,7 @@ spec: - /bin/sh - -c args: - - aws s3 cp s3://${NS}-dumps/migrations/$(date +%m-%d-%Y).sql.gz - --endpoint-url=https://minio.k7.indie.host --region=default | unpigz | pg_restore -d hedgedoc -h pg-${NS} -p 5432 -U hedgedoc + - aws s3 cp s3://${NS}-dumps/migrations/$(date +%m-%d-%Y).sql.gz - --endpoint-url=https://minio.k7.indie.host --region=default | unpigz | pg_restore -d hedgedoc -h pg-${NS} -p 5432 -U hedgedoc --clean --no-owner --role=hedgedoc env: - name: PGPASSWORD valueFrom: