Skip to content

Commit

Permalink
BC-5112 - add Annotations to deployment for Restart
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored Sep 27, 2024
1 parent ced7a42 commit 32d1273
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ansible/roles/version-aggregator/templates/deployment.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ kind: Deployment
metadata:
name: version-aggregator-deployment
namespace: {{ NAMESPACE }}
{% if ANNOTATIONS is defined and ANNOTATIONS|bool %}
annotations:
{% if RELOADER is defined and RELOADER|bool %}
reloader.stakater.com/auto: "true"
{% endif %}
{% endif %}
labels:
app: version-aggregator
app.kubernetes.io/part-of: schulcloud-verbund
Expand Down

0 comments on commit 32d1273

Please sign in to comment.