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

📖 Use kyverno to gate upgrades in Kubernetes #564

Closed
Tracked by #215 ...
mudler opened this issue Dec 15, 2022 · 1 comment · Fixed by #1135
Closed
Tracked by #215 ...

📖 Use kyverno to gate upgrades in Kubernetes #564

mudler opened this issue Dec 15, 2022 · 1 comment · Fixed by #1135
Assignees
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers lane/coco lane/press spike

Comments

@mudler
Copy link
Member

mudler commented Dec 15, 2022

Is your feature request related to a problem? Please describe.
When upgrading Kairos nodes with Kubernetes, we pull the image with Kubernetes but we don't verify it directly with cosign, as this process is managed not internally - gating unsigned images is delegated to other software that acts as validator, as kyverno for example.
Kyverno is a policy engine designed for Kubernetes. It can validate, mutate, and generate configurations using admission controls and background scans. It can be used to verify if deployments, jobs, or pods respect a user-defined policy.

Describe the solution you'd like
A documentation page in the Kairos docs describing how to use Kyverno to gate Kubernetes upgrade with signed-only images. Our CI already signs images with cosign, and Kyverno supports verifying images: https://kyverno.io/docs/writing-policies/verify-images/. We should be able to have a simple example policy to get started users with

Describe alternatives you've considered

Additional context

@mudler mudler added the enhancement New feature or request label Dec 15, 2022
@mudler mudler self-assigned this Dec 15, 2022
@mudler mudler added documentation Improvements or additions to documentation spike good first issue Good for newcomers and removed enhancement New feature or request labels Dec 15, 2022
@mudler mudler removed their assignment Dec 15, 2022
@mudler mudler mentioned this issue Dec 16, 2022
5 tasks
@mudler mudler mentioned this issue Mar 13, 2023
27 tasks
@mudler mudler self-assigned this Mar 14, 2023
@mudler
Copy link
Member Author

mudler commented Mar 14, 2023

Looking at #636 with it too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers lane/coco lane/press spike
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant