diff --git a/ansible/roles/nuxt-client-core/templates/deployment.yml.j2 b/ansible/roles/nuxt-client-core/templates/deployment.yml.j2 index c1caef3f4a..bb11ba327c 100644 --- a/ansible/roles/nuxt-client-core/templates/deployment.yml.j2 +++ b/ansible/roles/nuxt-client-core/templates/deployment.yml.j2 @@ -3,6 +3,12 @@ kind: Deployment metadata: name: nuxtclient-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: nuxtclient app.kubernetes.io/part-of: schulcloud-verbund