Kubernetes Security Policies Made Easy with Kyverno

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 4

  • @zhukovmisha
    @zhukovmisha 16 днів тому

    Thanks!

  • @palanisamy-dl9qe
    @palanisamy-dl9qe 2 місяці тому +1

    Hi Sir do you have any ci tool to validate the test case policy before apply into any cluster?

    • @TeKanAid
      @TeKanAid  2 місяці тому

      Hi! Yes, absolutely-there are ways to validate Kyverno policies using CI tools before applying them to your clusters. One effective method is to integrate the Kyverno CLI into your CI pipeline.
      You can use the kyverno test command to write and run test cases for your policies. This allows you to simulate how your policies will behave with different Kubernetes resources. By integrating this command into CI tools like Jenkins, GitLab CI/CD, or GitHub Actions, you can automate the validation process and catch any issues early on.
      kyverno.io/docs/kyverno-cli/usage/test/#:~:text=The%20test%20command%20is%20used%20to%20test%20a,assists%20with%20locating%20discrepancies%20should%20those%20results%20change.