Skip to content

Commit

Permalink
Removed security context from targetless agents
Browse files Browse the repository at this point in the history
  • Loading branch information
Razz4780 committed Jan 28, 2025
1 parent e64a17e commit be0797e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions changelog.d/+targetless-privileged.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mirrord no longer requires targetless agents' pods to be privileged.
4 changes: 0 additions & 4 deletions mirrord/kube/src/api/container/pod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,6 @@ impl ContainerVariant for PodVariant<'_> {
env: Some(env),
// Add requests to avoid getting defaulted https://github.com/metalbear-co/mirrord/issues/579
resources: Some(resources),
security_context: Some(SecurityContext {
privileged: Some(agent.privileged),
..Default::default()
}),
..Default::default()
}],
..Default::default()
Expand Down

0 comments on commit be0797e

Please sign in to comment.