Skip to content

Commit

Permalink
Add env vars for backups
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Nov 1, 2023
1 parent 18e8348 commit d606229
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions osm-seed/templates/db/db-backup-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ spec:
value: {{ $.Values.db.env.POSTGRES_USER }}
- name: DB_ACTION
value: {{ $job.env.DB_ACTION }}
- name: BACKUP_CLOUD_FOLDER
value: {{ $job.env.BACKUP_CLOUD_FOLDER }}
- name: BACKUP_CLOUD_FILE
value: {{ $job.env.BACKUP_CLOUD_FILE }}
- name: RESTORE_URL_FILE
value: {{ $job.env.RESTORE_URL_FILE}}
- name: CLEAN_BACKUPS
Expand All @@ -54,6 +58,10 @@ spec:
value: {{ $.Values.osmchaDb.env.POSTGRES_USER }}
- name: DB_ACTION
value: {{ $job.env.DB_ACTION }}
- name: BACKUP_CLOUD_FOLDER
value: {{ $job.env.BACKUP_CLOUD_FOLDER }}
- name: BACKUP_CLOUD_FILE
value: {{ $job.env.BACKUP_CLOUD_FILE }}
- name: RESTORE_URL_FILE
value: {{ $job.env.RESTORE_URL_FILE}}
- name: CLEAN_BACKUPS
Expand Down

0 comments on commit d606229

Please sign in to comment.