Skip to content

Commit

Permalink
move argocd annotations to top level
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored Sep 23, 2024
1 parent 6b9fa2b commit 99f8ec8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions kubernetes/loculus/templates/ingest-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 99f8ec8

Please sign in to comment.