gitops: fix migrate job hook and track migrate image

This commit is contained in:
Tracewebstudio Dev 2026-04-17 13:24:35 +02:00
parent 7f33f98de1
commit 0c92767030
2 changed files with 8 additions and 2 deletions

View file

@ -2,7 +2,10 @@ apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
name: nxtgauge-db-migrate 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: labels:
app: nxtgauge-db-migrate app: nxtgauge-db-migrate
spec: spec:

View file

@ -22,7 +22,8 @@ metadata:
fitness-trainers=registry.nxtgauge.com/nxtgauge-rust-fitness-trainers:high-performance-latest, fitness-trainers=registry.nxtgauge.com/nxtgauge-rust-fitness-trainers:high-performance-latest,
catering-services=registry.nxtgauge.com/nxtgauge-rust-catering-services: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, 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.update-strategy: digest
argocd-image-updater.argoproj.io/gateway.allow-tags: regexp:^high-performance-latest$ argocd-image-updater.argoproj.io/gateway.allow-tags: regexp:^high-performance-latest$
argocd-image-updater.argoproj.io/users.update-strategy: digest 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/ugc-content-creators.allow-tags: regexp:^high-performance-latest$
argocd-image-updater.argoproj.io/cron.update-strategy: digest 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/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 argocd-image-updater.argoproj.io/write-back-method: argocd
spec: spec:
destination: destination: