Skip to content

Commit

Permalink
Undo Add DB_VERSION in physical restore function (#1488)
Browse files Browse the repository at this point in the history
Signed-off-by: souravbiswassanto <[email protected]>
  • Loading branch information
souravbiswassanto authored Jan 2, 2025
1 parent d18e573 commit 881bec3
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions catalog/copy-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ $CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/postgres-ar
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/postgres-archiver:v0.11.0_17.2-bookworm $IMAGE_REGISTRY/kubedb/postgres-archiver:v0.11.0_17.2-bookworm
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/postgres-csi-snapshotter-plugin:v0.11.0 $IMAGE_REGISTRY/kubedb/postgres-csi-snapshotter-plugin:v0.11.0
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/postgres-init:0.17.0 $IMAGE_REGISTRY/kubedb/postgres-init:0.17.0
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/postgres-restic-plugin:v0.13.0_17.2 $IMAGE_REGISTRY/kubedb/postgres-restic-plugin:v0.13.0_17.2
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/provider-aws:v0.12.0 $IMAGE_REGISTRY/kubedb/provider-aws:v0.12.0
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/provider-azure:v0.12.0 $IMAGE_REGISTRY/kubedb/provider-azure:v0.12.0
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/provider-gcp:v0.12.0 $IMAGE_REGISTRY/kubedb/provider-gcp:v0.12.0
Expand Down
1 change: 1 addition & 0 deletions catalog/export-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ $CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/postgres-
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/postgres-archiver:v0.11.0_17.2-bookworm images/kubedb-postgres-archiver-v0.11.0_17.2-bookworm.tar
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/postgres-csi-snapshotter-plugin:v0.11.0 images/kubedb-postgres-csi-snapshotter-plugin-v0.11.0.tar
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/postgres-init:0.17.0 images/kubedb-postgres-init-0.17.0.tar
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/postgres-restic-plugin:v0.13.0_17.2 images/kubedb-postgres-restic-plugin-v0.13.0_17.2.tar
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/provider-aws:v0.12.0 images/kubedb-provider-aws-v0.12.0.tar
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/provider-azure:v0.12.0 images/kubedb-provider-azure-v0.12.0.tar
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/provider-gcp:v0.12.0 images/kubedb-provider-gcp-v0.12.0.tar
Expand Down
1 change: 1 addition & 0 deletions catalog/imagelist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@
- ghcr.io/kubedb/postgres-archiver:v0.11.0_17.2-bookworm
- ghcr.io/kubedb/postgres-csi-snapshotter-plugin:v0.11.0
- ghcr.io/kubedb/postgres-init:0.17.0
- ghcr.io/kubedb/postgres-restic-plugin:v0.13.0_17.2
- ghcr.io/kubedb/provider-aws:v0.12.0
- ghcr.io/kubedb/provider-azure:v0.12.0
- ghcr.io/kubedb/provider-gcp:v0.12.0
Expand Down
1 change: 1 addition & 0 deletions catalog/import-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ $CMD push --allow-nondistributable-artifacts --insecure images/kubedb-postgres-a
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-postgres-archiver-v0.11.0_17.2-bookworm.tar $IMAGE_REGISTRY/kubedb/postgres-archiver:v0.11.0_17.2-bookworm
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-postgres-csi-snapshotter-plugin-v0.11.0.tar $IMAGE_REGISTRY/kubedb/postgres-csi-snapshotter-plugin:v0.11.0
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-postgres-init-0.17.0.tar $IMAGE_REGISTRY/kubedb/postgres-init:0.17.0
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-postgres-restic-plugin-v0.13.0_17.2.tar $IMAGE_REGISTRY/kubedb/postgres-restic-plugin:v0.13.0_17.2
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-provider-aws-v0.12.0.tar $IMAGE_REGISTRY/kubedb/provider-aws:v0.12.0
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-provider-azure-v0.12.0.tar $IMAGE_REGISTRY/kubedb/provider-azure:v0.12.0
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-provider-gcp-v0.12.0.tar $IMAGE_REGISTRY/kubedb/provider-gcp:v0.12.0
Expand Down
1 change: 1 addition & 0 deletions catalog/import-into-k3s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ k3s ctr images import images/kubedb-postgres-archiver-v0.11.0_17.2-alpine.tar
k3s ctr images import images/kubedb-postgres-archiver-v0.11.0_17.2-bookworm.tar
k3s ctr images import images/kubedb-postgres-csi-snapshotter-plugin-v0.11.0.tar
k3s ctr images import images/kubedb-postgres-init-0.17.0.tar
k3s ctr images import images/kubedb-postgres-restic-plugin-v0.13.0_17.2.tar
k3s ctr images import images/kubedb-provider-aws-v0.12.0.tar
k3s ctr images import images/kubedb-provider-azure-v0.12.0.tar
k3s ctr images import images/kubedb-provider-gcp-v0.12.0.tar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ spec:
- --user=${user:=}
- --restore-cmd=${restoreCmd:=}
- --restore-path=${restorePath:=}
image: ghcr.io/kubedb/postgres-restic-plugin:v0.13.0_${DB_VERSION}
image: ghcr.io/kubedb/postgres-restic-plugin:v0.13.0_17.2
1 change: 1 addition & 0 deletions catalog/scripts/operator/copy-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ $CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/mongodb-csi
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/mssqlserver-walg-plugin:v0.0.1 $IMAGE_REGISTRY/kubedb/mssqlserver-walg-plugin:v0.0.1
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/mysql-csi-snapshotter-plugin:v0.11.0 $IMAGE_REGISTRY/kubedb/mysql-csi-snapshotter-plugin:v0.11.0
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/postgres-csi-snapshotter-plugin:v0.11.0 $IMAGE_REGISTRY/kubedb/postgres-csi-snapshotter-plugin:v0.11.0
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/postgres-restic-plugin:v0.13.0_17.2 $IMAGE_REGISTRY/kubedb/postgres-restic-plugin:v0.13.0_17.2
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/provider-aws:v0.12.0 $IMAGE_REGISTRY/kubedb/provider-aws:v0.12.0
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/provider-azure:v0.12.0 $IMAGE_REGISTRY/kubedb/provider-azure:v0.12.0
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/provider-gcp:v0.12.0 $IMAGE_REGISTRY/kubedb/provider-gcp:v0.12.0
Expand Down
1 change: 1 addition & 0 deletions catalog/scripts/operator/export-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ $CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/mongodb-c
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/mssqlserver-walg-plugin:v0.0.1 images/kubedb-mssqlserver-walg-plugin-v0.0.1.tar
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/mysql-csi-snapshotter-plugin:v0.11.0 images/kubedb-mysql-csi-snapshotter-plugin-v0.11.0.tar
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/postgres-csi-snapshotter-plugin:v0.11.0 images/kubedb-postgres-csi-snapshotter-plugin-v0.11.0.tar
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/postgres-restic-plugin:v0.13.0_17.2 images/kubedb-postgres-restic-plugin-v0.13.0_17.2.tar
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/provider-aws:v0.12.0 images/kubedb-provider-aws-v0.12.0.tar
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/provider-azure:v0.12.0 images/kubedb-provider-azure-v0.12.0.tar
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/provider-gcp:v0.12.0 images/kubedb-provider-gcp-v0.12.0.tar
Expand Down
1 change: 1 addition & 0 deletions catalog/scripts/operator/imagelist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
- ghcr.io/kubedb/mssqlserver-walg-plugin:v0.0.1
- ghcr.io/kubedb/mysql-csi-snapshotter-plugin:v0.11.0
- ghcr.io/kubedb/postgres-csi-snapshotter-plugin:v0.11.0
- ghcr.io/kubedb/postgres-restic-plugin:v0.13.0_17.2
- ghcr.io/kubedb/provider-aws:v0.12.0
- ghcr.io/kubedb/provider-azure:v0.12.0
- ghcr.io/kubedb/provider-gcp:v0.12.0
Expand Down
1 change: 1 addition & 0 deletions catalog/scripts/operator/import-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ $CMD push --allow-nondistributable-artifacts --insecure images/kubedb-mongodb-cs
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-mssqlserver-walg-plugin-v0.0.1.tar $IMAGE_REGISTRY/kubedb/mssqlserver-walg-plugin:v0.0.1
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-mysql-csi-snapshotter-plugin-v0.11.0.tar $IMAGE_REGISTRY/kubedb/mysql-csi-snapshotter-plugin:v0.11.0
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-postgres-csi-snapshotter-plugin-v0.11.0.tar $IMAGE_REGISTRY/kubedb/postgres-csi-snapshotter-plugin:v0.11.0
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-postgres-restic-plugin-v0.13.0_17.2.tar $IMAGE_REGISTRY/kubedb/postgres-restic-plugin:v0.13.0_17.2
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-provider-aws-v0.12.0.tar $IMAGE_REGISTRY/kubedb/provider-aws:v0.12.0
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-provider-azure-v0.12.0.tar $IMAGE_REGISTRY/kubedb/provider-azure:v0.12.0
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-provider-gcp-v0.12.0.tar $IMAGE_REGISTRY/kubedb/provider-gcp:v0.12.0
Expand Down
1 change: 1 addition & 0 deletions catalog/scripts/operator/import-into-k3s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ k3s ctr images import images/kubedb-mongodb-csi-snapshotter-plugin-v0.11.0.tar
k3s ctr images import images/kubedb-mssqlserver-walg-plugin-v0.0.1.tar
k3s ctr images import images/kubedb-mysql-csi-snapshotter-plugin-v0.11.0.tar
k3s ctr images import images/kubedb-postgres-csi-snapshotter-plugin-v0.11.0.tar
k3s ctr images import images/kubedb-postgres-restic-plugin-v0.13.0_17.2.tar
k3s ctr images import images/kubedb-provider-aws-v0.12.0.tar
k3s ctr images import images/kubedb-provider-azure-v0.12.0.tar
k3s ctr images import images/kubedb-provider-gcp-v0.12.0.tar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ spec:
- --user=${user:=}
- --restore-cmd=${restoreCmd:=}
- --restore-path=${restorePath:=}
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/postgres-restic-plugin") $) }}:v0.13.0_${DB_VERSION}'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/postgres-restic-plugin") $) }}:v0.13.0_17.2'
{{ end }}

0 comments on commit 881bec3

Please sign in to comment.