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 07cacf5 commit 5ae9c17
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ansible/roles/shd-client-core/templates/deployment.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ kind: Deployment
metadata:
name: shd-client-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: shd-client
app.kubernetes.io/part-of: schulcloud-verbund
Expand Down

0 comments on commit 5ae9c17

Please sign in to comment.