From 9ad50fb2e9d617eca6bd75bf310e53527c302818 Mon Sep 17 00:00:00 2001 From: Husni Alhamdani Date: Wed, 10 Jan 2024 17:58:32 +0100 Subject: [PATCH] Add Pod securityContext for target allocator Signed-off-by: Husni Alhamdani --- .chloggen/fix-ta-pod-security-context.yaml | 2 +- tests/e2e/targetallocator-features/00-install.yaml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.chloggen/fix-ta-pod-security-context.yaml b/.chloggen/fix-ta-pod-security-context.yaml index c186419b1e..4e19535e26 100755 --- a/.chloggen/fix-ta-pod-security-context.yaml +++ b/.chloggen/fix-ta-pod-security-context.yaml @@ -1,5 +1,5 @@ # One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: breaking +change_type: enhancement # The name of the component, or a single word describing the area of concern, (e.g. operator, target allocator, github action) component: target allocator diff --git a/tests/e2e/targetallocator-features/00-install.yaml b/tests/e2e/targetallocator-features/00-install.yaml index 072c8c4fe7..b859af8fac 100644 --- a/tests/e2e/targetallocator-features/00-install.yaml +++ b/tests/e2e/targetallocator-features/00-install.yaml @@ -51,8 +51,11 @@ spec: securityContext: runAsUser: 1000 runAsGroup: 3000 - fsGroup: 3000 privileged: true + podSecurityContext: + runAsUser: 1000 + runAsGroup: 3000 + fsGroup: 2000 affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: