Skip to content

Commit

Permalink
docs: Update ext-authz documentation for kubernetes (#18281)
Browse files Browse the repository at this point in the history
Update ext-authz documentation for kubernetes
  • Loading branch information
gautambaghel authored Jul 26, 2023
1 parent 9b540e2 commit 02cf177
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -94,6 +98,7 @@ envoyExtensions:
target:
service:
name: authz
namespace: authz
```
</CodeBlockConfig>
</Tab>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 02cf177

Please sign in to comment.