Skip to content

fix(helm): fix default securitycontext for job#998

Merged
oliverbaehler merged 1 commit intoprojectcapsule:mainfrom
sandert-k8s:fix-securitycontext-defaults
Mar 30, 2026
Merged

fix(helm): fix default securitycontext for job#998
oliverbaehler merged 1 commit intoprojectcapsule:mainfrom
sandert-k8s:fix-securitycontext-defaults

Conversation

@sandert-k8s
Copy link
Copy Markdown
Contributor

@sandert-k8s sandert-k8s commented Mar 27, 2026

by mistake disabled the default securityContext for the kubectl job in this PR. Fixed this.

Copilot AI review requested due to automatic review settings March 27, 2026 13:51
Signed-off-by: sandert-k8s <sandert98@gmail.com>
@sandert-k8s sandert-k8s force-pushed the fix-securitycontext-defaults branch from ec709c7 to c55d0e2 Compare March 27, 2026 13:52
Copy link
Copy Markdown

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

Restores the intended default hardening for the Helm chart’s CRD lifecycle (kubectl) Job by re-enabling the default pod/container security contexts, and updates the chart metadata/docs to reflect the corrected defaults.

Changes:

  • Set global.jobs.kubectl.podSecurityContext.enabled default back to true.
  • Set global.jobs.kubectl.securityContext.enabled default back to true.
  • Update README defaults table and ArtifactHub changelog entry to match.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
charts/capsule-proxy/values.yaml Re-enables default pod/container securityContext toggles for the kubectl Job.
charts/capsule-proxy/README.md Updates documented default values for the kubectl Job security contexts.
charts/capsule-proxy/Chart.yaml Records the fix in artifacthub.io/changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@oliverbaehler oliverbaehler merged commit 3681593 into projectcapsule:main Mar 30, 2026
13 checks passed
oliverbaehler pushed a commit that referenced this pull request Apr 14, 2026
Signed-off-by: sandert-k8s <sandert98@gmail.com>
Signed-off-by: Oliver Baehler <oliver@sudo-i.net>
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.

4 participants