Skip to content

Commit

Permalink
Add Pod securityContext for target allocator
Browse files Browse the repository at this point in the history
Signed-off-by: Husni Alhamdani <[email protected]>
  • Loading branch information
husnialhamdani committed Jan 10, 2024
1 parent 2b1a401 commit 9ad50fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .chloggen/fix-ta-pod-security-context.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/targetallocator-features/00-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,11 @@ spec:
securityContext:
runAsUser: 1000
runAsGroup: 3000
fsGroup: 3000
privileged: true
podSecurityContext:
runAsUser: 1000
runAsGroup: 3000
fsGroup: 2000
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down

0 comments on commit 9ad50fb

Please sign in to comment.