Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add securityContext at podlevel #325

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

yanehi
Copy link
Contributor

@yanehi yanehi commented Jul 19, 2023

Problem

Due to a Kyverno policy, I would like to be able to set the securityContext at podlevel for all Kyverno pods. The chart currently only offers the possibility to set the securityContext at container level. This causes my Kyverno policy to fail only for the policy-reporter-kyverno-plugin-<random-string> pod.

Solution

I can optionally set the securityContext to podlevel with these incoming changes.

@sonatype-lift
Copy link

sonatype-lift bot commented Jul 19, 2023

Sonatype Lift is retiring

Sonatype Lift will be retiring on Sep 12, 2023, with its analysis stopping on Aug 12, 2023. We understand that this news may come as a disappointment, and Sonatype is committed to helping you transition off it seamlessly. If you’d like to retain your data, please export your issues from the web console.
We are extremely grateful and thank you for your support over the years.

📖 Read about the impacts and timeline

@yanehi yanehi force-pushed the feat/add-securitcontext-podlevel branch from 4b10f9a to 3b3a686 Compare July 19, 2023 12:25
Signed-off-by: Yannic Nevado <yannic.nevado@accso.de>
@yanehi yanehi force-pushed the feat/add-securitcontext-podlevel branch from 3b3a686 to 3a5bd9c Compare July 19, 2023 12:26
@coveralls
Copy link

Pull Request Test Coverage Report for Build 5599077960

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.3%) to 92.724%

Totals Coverage Status
Change from base Build 5476988783: 0.3%
Covered Lines: 4320
Relevant Lines: 4659

💛 - Coveralls

@fjogeleit fjogeleit merged commit 6e95f75 into kyverno:main Jul 19, 2023
2 of 3 checks passed
@fjogeleit
Copy link
Member

thanks for your contribution

This pull request was closed.
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.

3 participants