Configuring the security context of Kafka Connect

Learn how to configure the security context of Kafka Connect pods

The Kafka Connect resource allows users to specify the security context at the pod and/or the container level with template properties.
#...
kind: KafkaConnect
spec:
  template:
    pod:
      securityContext:
        allowPrivilegeEscalation: false
        capabilities:
          drop:
            - ALL
        runAsNonRoot: true
        seccompProfile:
          type: RuntimeDefault