-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 kyverno-authz-server integration #15963
base: master
Are you sure you want to change the base?
feat: add kyverno-authz-server integration #15963
Conversation
Hi @eddycharly. Thanks for your PR. I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
8b20b75
to
327091a
Compare
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
327091a
to
e6dadd4
Compare
Related to #15867 |
cc @craigbox |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ok-to-test
Linter should pass once #15867 merges |
Shall i wait or fix this PR without waiting for #15867 ? |
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
@@ -0,0 +1,464 @@ | |||
--- | |||
title: Kyverno Authz Server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title: Kyverno Authz Server | |
title: Kyverno |
@@ -0,0 +1,464 @@ | |||
--- | |||
title: Kyverno Authz Server | |||
description: How to integrate with Kyverno Authz Server. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: How to integrate with Kyverno Authz Server. | |
description: How to use Kyverno as an external authorization server. |
weight: 33 | ||
keywords: [integration,kyverno,policy,authorization] | ||
owner: istio/wg-environments-maintainers | ||
test: no |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you considered making this testable? Should be pretty easy.
Check https://github.com/istio/istio.io/tree/master/tests and let me know if you have any issues
test: no | ||
--- | ||
|
||
The [Kyverno Authz Server](https://kyverno.github.io/kyverno-envoy-plugin) is a GRPC authorization server implementing the [Envoy's External Authorization protocol](https://www.envoyproxy.io/docs/envoy/latest/api-v3/service/auth/v3/external_auth.proto). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The [Kyverno Authz Server](https://kyverno.github.io/kyverno-envoy-plugin) is a GRPC authorization server implementing the [Envoy's External Authorization protocol](https://www.envoyproxy.io/docs/envoy/latest/api-v3/service/auth/v3/external_auth.proto). | |
The [Kyverno Authz Server](https://kyverno.github.io/kyverno-envoy-plugin) is a gRPC authorization server implementing the [Envoy External Authorization protocol](https://www.envoyproxy.io/docs/envoy/latest/api-v3/service/auth/v3/external_auth.proto). |
|
||
The [Kyverno Authz Server](https://kyverno.github.io/kyverno-envoy-plugin) is a GRPC authorization server implementing the [Envoy's External Authorization protocol](https://www.envoyproxy.io/docs/envoy/latest/api-v3/service/auth/v3/external_auth.proto). | ||
|
||
Istio and the Kyverno Authz Server is a solid option to deliver policy quickly and transparently to application team everywhere in the business, while also providing the data the security teams need for audit and compliance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you give a bit more context for someone who isn't familiar with Kyverno? Realistically, is this guide for "I use Kyverno and want to bring Istio into my central policy system" or is it for "There is something in Istio I can't do, and so I want to add a third-party thing, and this is going to be my first experience with Kyverno"?
|
||
Istio and the Kyverno Authz Server is a solid option to deliver policy quickly and transparently to application team everywhere in the business, while also providing the data the security teams need for audit and compliance. | ||
|
||
## Try it out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably best to follow the pattern set out by docs like https://istio.io/latest/docs/tasks/security/authorization/authz-custom/
## Wrap Up | ||
|
||
In this guide, we have shown how to integrate Istio and the Kyverno Authz Server to enforce policies for a simple microservices application. | ||
We also showed how to use policies to modify the request and response attributes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Wrap Up | |
In this guide, we have shown how to integrate Istio and the Kyverno Authz Server to enforce policies for a simple microservices application. | |
We also showed how to use policies to modify the request and response attributes. |
{{< text bash >}} | ||
$ kubectl create ns kyverno | ||
{{< /text >}} | ||
|
||
{{< text bash >}} | ||
$ kubectl label namespace kyverno istio-injection=enabled | ||
{{< /text >}} | ||
|
||
{{< text bash >}} | ||
$ helm install kyverno-authz-server --namespace kyverno --wait --repo https://kyverno.github.io/kyverno-envoy-plugin kyverno-authz-server | ||
{{< /text >}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
condense as per the blog?
Description
Add kyverno-authz-server integration docs.
Reviewers