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>