Update ext-authz documentation for kubernetes

pull/18281/head
Gautam 1 year ago committed by GitHub
parent 9b540e29bc
commit 24515790d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -83,9 +83,13 @@ EnvoyExtensions = [
<CodeBlockConfig filename="api-auth-service-defaults">
```yaml
apiVersion: consul.hashicorp.com/v1alpha1
kind: ServiceDefaults
name: api
envoyExtensions:
metadata:
name: api
namespace: default
spec:
envoyExtensions:
- name: builtin/ext-authz
arguments:
proxyType: connect-proxy
@ -94,6 +98,7 @@ envoyExtensions:
target:
service:
name: authz
namespace: authz
```
</CodeBlockConfig>
</Tab>
@ -140,7 +145,7 @@ $ consul config write api-auth-service-defaults.json
<Tab heading="Kubernetes" group="kubernetes">
```shell-session
$ kubectl apply api-auth-service-defaults.yaml
$ kubectl apply -f api-auth-service-defaults.yaml
```
</Tab>

Loading…
Cancel
Save