// Module included in the following assemblies:
//
// assembly-tls-sidecar.adoc

[id='proc-configuring-tls-sidecar-{context}']
= Configuring TLS sidecar

.Prerequisites

* A Kubernetes cluster
* A running Cluster Operator

.Procedure

. Edit the `tlsSidecar` property in the `Kafka` resource.
For example:
+
[source,yaml,subs=attributes+]
----
apiVersion: {KafkaApiVersion}
kind: Kafka
metadata:
  name: my-cluster
spec:
  kafka:
    # ...
    tlsSidecar:
      resources:
        requests:
          cpu: 200m
          memory: 64Mi
        limits:
          cpu: 500m
          memory: 128Mi
    # ...
  zookeeper:
    # ...
----
+
. Create or update the resource.
+
This can be done using `kubectl apply`:
[source,shell,subs=+quotes]
kubectl apply -f _your-file_
