Skip to content

Remove access to topics from an applicationΒΆ

This guide will show you how to remove your application's access to a Kafka topic.

Remove ACLs from the topicΒΆ

Remove the ACL that grants your application access to the topic.

Remove the kafka resource from your applicationΒΆ

.nais/app.yaml
  apiVersion: nais.io/v1alpha1
  kind: Application
  metadata:
    name: <MY-APP>
    namespace: <MY-TEAM>
    labels:
      team: <MY-TEAM>
  spec:
    kafka:
      pool: <MY-POOL> # TODO: link to available tenant pools

Apply the applicationΒΆ

Add the file to your application repository to deploy with NAIS github action.

kubectl apply -f ./nais/app.yaml --namespace=<MY-TEAM> --context=<MY-CLUSTER>