gitops: fix migrate job hook and track migrate image
This commit is contained in:
parent
7f33f98de1
commit
0c92767030
2 changed files with 8 additions and 2 deletions
|
|
@ -2,7 +2,10 @@ apiVersion: batch/v1
|
|||
kind: Job
|
||||
metadata:
|
||||
name: nxtgauge-db-migrate
|
||||
namespace: default
|
||||
annotations:
|
||||
argocd.argoproj.io/hook: PreSync
|
||||
argocd.argoproj.io/hook-delete-policy: BeforeHookCreation,HookSucceeded
|
||||
argocd.argoproj.io/sync-wave: "-1"
|
||||
labels:
|
||||
app: nxtgauge-db-migrate
|
||||
spec:
|
||||
|
|
|
|||
|
|
@ -22,7 +22,8 @@ metadata:
|
|||
fitness-trainers=registry.nxtgauge.com/nxtgauge-rust-fitness-trainers:high-performance-latest,
|
||||
catering-services=registry.nxtgauge.com/nxtgauge-rust-catering-services:high-performance-latest,
|
||||
ugc-content-creators=registry.nxtgauge.com/nxtgauge-rust-ugc-content-creators:high-performance-latest,
|
||||
cron=registry.nxtgauge.com/nxtgauge-rust-cron:high-performance-latest
|
||||
cron=registry.nxtgauge.com/nxtgauge-rust-cron:high-performance-latest,
|
||||
migrate=registry.nxtgauge.com/nxtgauge-db-migrate:high-performance-latest
|
||||
argocd-image-updater.argoproj.io/gateway.update-strategy: digest
|
||||
argocd-image-updater.argoproj.io/gateway.allow-tags: regexp:^high-performance-latest$
|
||||
argocd-image-updater.argoproj.io/users.update-strategy: digest
|
||||
|
|
@ -63,6 +64,8 @@ metadata:
|
|||
argocd-image-updater.argoproj.io/ugc-content-creators.allow-tags: regexp:^high-performance-latest$
|
||||
argocd-image-updater.argoproj.io/cron.update-strategy: digest
|
||||
argocd-image-updater.argoproj.io/cron.allow-tags: regexp:^high-performance-latest$
|
||||
argocd-image-updater.argoproj.io/migrate.update-strategy: digest
|
||||
argocd-image-updater.argoproj.io/migrate.allow-tags: regexp:^high-performance-latest$
|
||||
argocd-image-updater.argoproj.io/write-back-method: argocd
|
||||
spec:
|
||||
destination:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue