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

Check helm chart complies with pss using kyverno gh action #236

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

paulwilljones
Copy link
Contributor

Default securityContext to restricted

- name: Install Kyverno CLI
uses: kyverno/[email protected]
- uses: azure/setup-helm@v3
- run: kyverno apply -p https://github.com/kyverno/policies/pod-security/restricted --git-branch main --resource <(helm template deploy/charts/version-checker/)
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice, didn't realise it was this easy to check in CI 👍

Default securityContext to restricted
@paulwilljones paulwilljones merged commit 612786b into main Aug 19, 2024
7 checks passed
@paulwilljones paulwilljones deleted the kyverno-pss branch August 19, 2024 08:19
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.

2 participants