Skip to content

Commit

Permalink
feat: produpgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
thegentlemanphysicist committed Oct 7, 2022
1 parent 8a7eed7 commit 8de1230
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 20 deletions.
17 changes: 17 additions & 0 deletions helm/backup-storage/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
These charts can be upgraded using make commands:

`make upgrade NAME=patroni-backup-storage NAMESPACE=<<namespace>>`

To restore from the most recent backup, rsh into the backup pod in the namespace in question and run:

**dev silver production**:

`./backup.sh -r postgres=sso-pgsql-dev-11-patroni:5432/rhsso`

**test silver production**:

`./backup.sh -r postgres=sso-pgsql-test-11-patroni:5432/keycloak`

**prod silver production**:

`./backup.sh -r postgres=sso-pgsql-prod-11-patroni:5432/rhsso`
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# The command to restore the latest backup is:
# ./backup.sh -r postgres=sso-pgsql-master-dev:5432/rhsso
# The command to update the backup in sandbox dev is:
# make upgrade NAME=patroni-backup-storage NAMESPACE=3d5c3f-dev

nameOverride: "sso-backup-storage"
fullnameOverride: "sso-backup-storage"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# The command to restore the latest backup is:
# ./backup.sh -r postgres=sso-pgsql-dev-11-patroni:5432/rhsso
# The command to update the backup in sandbox dev is:
# make upgrade NAME=patroni-backup-storage NAMESPACE=6d70e7-dev

nameOverride: "sso-backup-storage"
fullnameOverride: "sso-backup-storage"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# The command to restore the latest backup is:
# ./backup.sh -r postgres=sso-pgsql-prod-11-patroni:5432/rhsso
# The command to update the backup in sandbox dev is:
# make upgrade NAME=patroni-backup-storage NAMESPACE=6d70e7-prod

nameOverride: "sso-backup-storage"
fullnameOverride: "sso-backup-storage"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# The command to restore the latest backup is:
# ./backup.sh -r postgres=patroni-11-test-secret:5432/rhsso
# The command to update the backup in sandbox dev is:
# make upgrade NAME=patroni-backup-storage NAMESPACE=6d70e7-test

nameOverride: "sso-backup-storage"
fullnameOverride: "sso-backup-storage"

Expand Down

0 comments on commit 8de1230

Please sign in to comment.