Skip to content

Commit

Permalink
chore: Provide DEPLOY_UID to force pod creation on every deploy (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
microamp authored Aug 13, 2024
1 parent edaad87 commit b4640cd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions k8s/bib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ spec:
volumeMounts:
- name: datasets
mountPath: /data/datasets
env:
# ensures the pod gets recreated on every deploy:
- name: "DEPLOY_UID"
value: "$DEPLOY_UID"
envFrom:
- secretRef:
name: bib-secrets-env
Expand Down Expand Up @@ -56,6 +60,10 @@ spec:
mountPath: /data/datasets
- name: tmp
mountPath: /tmp
env:
# ensures the pod gets recreated on every deploy:
- name: "DEPLOY_UID"
value: "$DEPLOY_UID"
envFrom:
- secretRef:
name: bib-secrets-env
Expand Down

0 comments on commit b4640cd

Please sign in to comment.