Skip to content

Commit

Permalink
add reloader to ingest and move argocd sync options to right place
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Sep 23, 2024
1 parent 64ec017 commit 04b62b1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions kubernetes/loculus/templates/ingest-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: loculus-ingest-deployment-{{ $key }}
annotations:
argocd.argoproj.io/sync-options: Force=true,Replace=true
reloader.stakater.com/auto: "true"
spec:
replicas: 1
strategy:
Expand All @@ -20,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 }}
containers:
Expand Down Expand Up @@ -56,6 +57,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 @@ -68,9 +72,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 04b62b1

Please sign in to comment.