diff --git a/kubernetes/loculus/templates/ingest-deployment.yaml b/kubernetes/loculus/templates/ingest-deployment.yaml index 6d1e93c3c..f50ff1e30 100644 --- a/kubernetes/loculus/templates/ingest-deployment.yaml +++ b/kubernetes/loculus/templates/ingest-deployment.yaml @@ -9,6 +9,7 @@ metadata: name: loculus-ingest-deployment-{{ $key }} annotations: reloader.stakater.com/auto: "true" + argocd.argoproj.io/sync-options: Force=true,Replace=true spec: replicas: 1 strategy: @@ -22,8 +23,6 @@ spec: labels: app: loculus component: loculus-ingest-deployment-{{ $key }} - annotations: - argocd.argoproj.io/sync-options: Force=true,Replace=true spec: {{- include "possiblePriorityClassName" $ | nindent 6 }} initContainers: @@ -78,6 +77,9 @@ apiVersion: batch/v1 kind: CronJob metadata: name: loculus-revoke-and-regroup-cronjob-{{ $key }} + annotations: + argocd.argoproj.io/sync-options: Replace=true + reloader.stakater.com/auto: "true" spec: schedule: "0 0 31 2 *" # Never runs without manual trigger startingDeadlineSeconds: 60 @@ -90,9 +92,6 @@ spec: labels: app: loculus component: loculus-ingest-cronjob-{{ $key }} - annotations: - argocd.argoproj.io/sync-options: Replace=true - reloader.stakater.com/auto: "true" spec: restartPolicy: Never containers: