Can drop db before install

This commit is contained in:
2024-03-26 12:25:40 +03:00
parent 151f596bf1
commit 8786b8c1d2
3 changed files with 46 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
{{ if .Values.database.migrateDb }}
apiVersion: batch/v1
kind: Job
metadata:
@@ -35,4 +36,5 @@ spec:
- name: MIGRATE_ONLY
value: "1"
imagePullSecrets:
- name: github-registry
- name: github-registry
{{ end }}