diff --git a/ansible/roles/superhero-dashboard/templates/deployment.yml.j2 b/ansible/roles/superhero-dashboard/templates/deployment.yml.j2 index 46fde78..90546ee 100644 --- a/ansible/roles/superhero-dashboard/templates/deployment.yml.j2 +++ b/ansible/roles/superhero-dashboard/templates/deployment.yml.j2 @@ -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