Skip to content

Commit

Permalink
Updated helm/kubectl commands
Browse files Browse the repository at this point in the history
  • Loading branch information
tomergreenwald committed Aug 6, 2023
1 parent 177f9f7 commit 6e644ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/quick-tutorials/k8s-kafka-mtls.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ This is our first step in protecting our Kafka service. Since we have configured
We've provided you with a `kafkaserverconfig.yaml` file with the `clientIdentityRequired` flag enabled, so you can apply that now:

```bash
kubectl apply -f https://docs.otterize.com/code-examples/kafka-mtls/kafkaserverconfig-auth.yaml -n otterize-tutorial-kafka-mtls
kubectl apply -f https://docs.otterize.com/code-examples/kafka-mtls/kafkaserverconfig-auth.yaml
```

If you go back to your access graph and click on your Kafka broker you can see that authorization is now required.
Expand Down Expand Up @@ -446,14 +446,14 @@ Let's see that in action. This only requires a single change to our helm chart's
If we apply this new configuration, we should see the `client-other` denied access.
```bash
helm install --create-namespace -n kafka \
helm upgrade --install -n kafka \
-f https://docs.otterize.com/code-examples/kafka-mtls/helm/values-protect.yaml kafka bitnami/kafka --version 21.4.4
```
Finally we need to turn enforcement on in our cluster by updating our Otterize helm configuration.
```bash
helm install --install otterize otterize/otterize-kubernetes -n otterize-system --create-namespace \
helm upgrade --install otterize otterize/otterize-kubernetes -n otterize-system --create-namespace \
--set global.otterizeCloud.credentials.clientId=<your_id> \
--set global.otterizeCloud.credentials.clientSecret=<your_secret> \
--set intentsOperator.operator.enableEnforcement=true \
Expand Down

0 comments on commit 6e644ed

Please sign in to comment.