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 ebc84c3..83a02dd 100644 --- a/ansible/roles/antivirus_check_service/templates/scanfile-deployment.yml.j2 +++ b/ansible/roles/antivirus_check_service/templates/scanfile-deployment.yml.j2 @@ -26,6 +26,7 @@ spec: antivirus: scanfile annotations: spec: + automountServiceAccountToken: false securityContext: runAsUser: 1000 runAsGroup: 1000 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 951a9a6..9ba8720 100644 --- a/ansible/roles/antivirus_check_service/templates/web-deployment.yml.j2 +++ b/ansible/roles/antivirus_check_service/templates/web-deployment.yml.j2 @@ -26,6 +26,7 @@ spec: antivirus: webserver annotations: spec: + automountServiceAccountToken: false securityContext: runAsUser: 1000 runAsGroup: 1000