From 3cf885967020de76c67e7dc377444c35c5353201 Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Thu, 30 Jan 2025 13:40:32 +0100 Subject: [PATCH] BC-8876 - add os to the pod template from the deployment --- .../templates/scanfile-deployment.yml.j2 | 2 ++ .../antivirus_check_service/templates/web-deployment.yml.j2 | 2 ++ 2 files changed, 4 insertions(+) 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 6f86148..752c5fb 100644 --- a/ansible/roles/antivirus_check_service/templates/scanfile-deployment.yml.j2 +++ b/ansible/roles/antivirus_check_service/templates/scanfile-deployment.yml.j2 @@ -50,6 +50,8 @@ spec: runAsGroup: 1000 fsGroup: 1000 runAsNonRoot: true + os: + name: linux containers: - name: antivirus-scanfile image: {{ ANTIVIRUS_CHECK_SERVICE_IMAGE }}:{{ ANTIVIRUS_CHECK_SERVICE_IMAGE_TAG }} 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 598fb08..03ebab9 100644 --- a/ansible/roles/antivirus_check_service/templates/web-deployment.yml.j2 +++ b/ansible/roles/antivirus_check_service/templates/web-deployment.yml.j2 @@ -50,6 +50,8 @@ spec: runAsGroup: 1000 fsGroup: 1000 runAsNonRoot: true + os: + name: linux containers: - name: antivirus-webserver image: {{ ANTIVIRUS_CHECK_SERVICE_IMAGE }}:{{ ANTIVIRUS_CHECK_SERVICE_IMAGE_TAG }}