Skip to content

Conversation

@Alokzh
Copy link

@Alokzh Alokzh commented Jul 6, 2025

Description

Added missing ContainerPorts in the sidecar container spec & updated sidecar container SecurityContext

Fixes #361 #362

Changes:

  • Added gRPC port configuration (5000) to both server and client sidecar containers
  • Updated sidecar container security context with proper capability drops (Drop: ["ALL"])

How Has This Been Tested?

Tested with KubeSlice minimal-demo setup. Verified that Sidecar containrs now properly expose gRPC port (5000) & sidecar container SecurityContext requests only needed permissions

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have ran go fmt
  • I have updated the helm chart as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit test cases.
  • I have verified the E2E test cases with new code changes.
  • I have added all the required E2E test cases.

Does this PR introduce a breaking change?


…ity context

Signed-off-by: Alokzh <zhalok24@gmail.com>
@pnavali
Copy link
Contributor

pnavali commented Jul 9, 2025

@gourishkb please review the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update worker slice gateway pod spec with sidecar container level SecurityContext

3 participants