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

CI: Improved K8s Kubeconformance validation #2811

Merged

Conversation

PhilipSchmid
Copy link
Collaborator

Description

  • Improved Helm chart validation by using Kubeconformance with enabled CR validation.
  • Added JSON schemas for the Tetragon CRDs as we might need them in the future to validate CRs from the Helm chart (TPs, etc.).

Follow up PR of #2804

Changelog

CI: Improved K8s Kubeconformance validation

@PhilipSchmid PhilipSchmid force-pushed the pr/philip/fix_ci_k8s_conformance_tests branch 5 times, most recently from 0db1c7e to ba0809f Compare August 16, 2024 10:09
@PhilipSchmid PhilipSchmid marked this pull request as ready for review August 16, 2024 10:11
@PhilipSchmid PhilipSchmid requested review from willfindlay and a team as code owners August 16, 2024 10:11
@lambdanis lambdanis added the release-note/ci This PR makes changes to the CI. label Aug 16, 2024
install/kubernetes/Makefile Show resolved Hide resolved
.github/workflows/lint-helm.yaml Show resolved Hide resolved
install/kubernetes/Makefile Show resolved Hide resolved
@PhilipSchmid PhilipSchmid force-pushed the pr/philip/fix_ci_k8s_conformance_tests branch 7 times, most recently from ee59207 to 6074f22 Compare August 16, 2024 12:44
@PhilipSchmid PhilipSchmid requested a review from lambdanis August 16, 2024 12:47
Copy link
Contributor

@lambdanis lambdanis left a comment

Choose a reason for hiding this comment

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

looks good, thank you @PhilipSchmid! I left two small comments, but approving anyway.

install/kubernetes/Makefile Outdated Show resolved Hide resolved
install/kubernetes/Makefile Outdated Show resolved Hide resolved
@jrfastab
Copy link
Contributor

@PhilipSchmid if you could address Anna's small comments then lets get this merged. Thanks.

Copy link

netlify bot commented Aug 19, 2024

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit e47ffcd
🔍 Latest deploy log https://app.netlify.com/sites/tetragon/deploys/66c2ed93b403c10008ebee6a
😎 Deploy Preview https://deploy-preview-2811--tetragon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@PhilipSchmid PhilipSchmid force-pushed the pr/philip/fix_ci_k8s_conformance_tests branch from f32564e to e47ffcd Compare August 19, 2024 07:00
- Improved Helm chart validation by using Kubeconformance with
enabled CR validation.
- Added JSON schemas for the Tetragon CRDs as we might need them
in the future to validate CRs from the Helm chart (TPs, etc.).

Signed-off-by: Philip Schmid <[email protected]>
@PhilipSchmid PhilipSchmid force-pushed the pr/philip/fix_ci_k8s_conformance_tests branch from e47ffcd to 030c6d5 Compare August 19, 2024 09:38
@PhilipSchmid
Copy link
Collaborator Author

@jrfastab I implemented Anna's feedback, squashed and rebased to main and force-pushed, and all CI tests were successful. IMO, this is ready to be merged 🚀.

install/kubernetes/Makefile Outdated Show resolved Hide resolved
@PhilipSchmid PhilipSchmid force-pushed the pr/philip/fix_ci_k8s_conformance_tests branch 2 times, most recently from 3d5d363 to 019837a Compare August 22, 2024 14:19
Copy link
Contributor

@lambdanis lambdanis left a comment

Choose a reason for hiding this comment

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

looks good, thanks!

@PhilipSchmid PhilipSchmid force-pushed the pr/philip/fix_ci_k8s_conformance_tests branch from 019837a to 7b0ef54 Compare August 22, 2024 15:51
@lambdanis lambdanis merged commit 4b2005e into cilium:main Aug 23, 2024
39 checks passed
@PhilipSchmid PhilipSchmid deleted the pr/philip/fix_ci_k8s_conformance_tests branch August 28, 2024 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants