Skip to content

Conversation

@rwinieski
Copy link
Collaborator

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Enforces baseline Pod and Container securityContext defaults while allowing user overrides, and updates sample manifest to reflect required user/group settings and additional security hardening.

  • Adds default PodSecurityContext and SecurityContext helper functions plus merge utilities.
  • Applies merged defaults in StatefulSet and container generation.
  • Updates sample complete.yaml with enforced securityContext fields and comments.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
pkg/k8sutil/statefulset.go Introduces default and merge security context helpers; integrates merged contexts into StatefulSet and container definitions.
config/samples/complete.yaml Updates sample spec to show enforced securityContext values and adds explanatory (assertive) comments.

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@rwinieski rwinieski marked this pull request as draft October 17, 2025 13:13
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.

1 participant