Skip to content

Commit

Permalink
BC-5112 - add Annotations to deployment for Restart (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored Sep 30, 2024
1 parent 59f3a54 commit 3857064
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ansible/roles/superhero-dashboard/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-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
app.kubernetes.io/part-of: schulcloud-verbund
Expand Down

0 comments on commit 3857064

Please sign in to comment.