diff --git a/ansible/roles/antivirus_check_service/templates/scanfile-deployment.yml.j2 b/ansible/roles/antivirus_check_service/templates/scanfile-deployment.yml.j2 index bc1e52c..b06345d 100644 --- a/ansible/roles/antivirus_check_service/templates/scanfile-deployment.yml.j2 +++ b/ansible/roles/antivirus_check_service/templates/scanfile-deployment.yml.j2 @@ -8,6 +8,9 @@ metadata: antivirus: scanfile app.kubernetes.io/part-of: schulcloud-verbund app.kubernetes.io/version: {{ ANTIVIRUS_CHECK_SERVICE_IMAGE_TAG }} + app.kubernetes.io/name: antivirus + app.kubernetes.io/component: scan + app.kubernetes.io/managed-by: ansible git.branch: {{ ANTIVIRUS_CHECK_SERVICE_BRANCH_NAME }} git.repo: {{ ANTIVIRUS_CHECK_SERVICE_REPO_NAME }} spec: @@ -30,6 +33,9 @@ spec: antivirus: scanfile app.kubernetes.io/part-of: schulcloud-verbund app.kubernetes.io/version: {{ ANTIVIRUS_CHECK_SERVICE_IMAGE_TAG }} + app.kubernetes.io/name: antivirus + app.kubernetes.io/component: scan + app.kubernetes.io/managed-by: ansible git.branch: {{ ANTIVIRUS_CHECK_SERVICE_BRANCH_NAME }} git.repo: {{ ANTIVIRUS_CHECK_SERVICE_REPO_NAME }} spec: diff --git a/ansible/roles/antivirus_check_service/templates/web-deployment.yml.j2 b/ansible/roles/antivirus_check_service/templates/web-deployment.yml.j2 index 3764dba..6ee1d02 100644 --- a/ansible/roles/antivirus_check_service/templates/web-deployment.yml.j2 +++ b/ansible/roles/antivirus_check_service/templates/web-deployment.yml.j2 @@ -8,6 +8,9 @@ metadata: antivirus: webserver app.kubernetes.io/part-of: schulcloud-verbund app.kubernetes.io/version: {{ ANTIVIRUS_CHECK_SERVICE_IMAGE_TAG }} + app.kubernetes.io/name: antivirus + app.kubernetes.io/component: web + app.kubernetes.io/managed-by: ansible git.branch: {{ ANTIVIRUS_CHECK_SERVICE_BRANCH_NAME }} git.repo: {{ ANTIVIRUS_CHECK_SERVICE_REPO_NAME }} spec: @@ -30,6 +33,9 @@ spec: antivirus: webserver app.kubernetes.io/part-of: schulcloud-verbund app.kubernetes.io/version: {{ ANTIVIRUS_CHECK_SERVICE_IMAGE_TAG }} + app.kubernetes.io/name: antivirus + app.kubernetes.io/component: web + app.kubernetes.io/managed-by: ansible git.branch: {{ ANTIVIRUS_CHECK_SERVICE_BRANCH_NAME }} git.repo: {{ ANTIVIRUS_CHECK_SERVICE_REPO_NAME }} spec: