Skip to content

Commit

Permalink
BC-5112 - add Annotations to deployment for Restart (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored Sep 30, 2024
1 parent 920d9e2 commit aa295a8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ansible/roles/tldraw-server/templates/deployment.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ kind: Deployment
metadata:
name: tldraw-server-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: tldraw-server
app.kubernetes.io/part-of: schulcloud-verbund
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ kind: Deployment
metadata:
name: tldraw-worker-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: tldraw-server-worker
app.kubernetes.io/part-of: schulcloud-verbund
Expand Down

0 comments on commit aa295a8

Please sign in to comment.