0.21 - Allow configuring labels and annotations for Cluster CA certificate secrets #4302
-
Hello, I am unable to do it and can't find anything related to that in the docs. When trying to add it via spec.kafka.clusterCaCert i get the following msg.
Tried with:
Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can use the I think your YAML is almost right, but it is missing the template part: kafka:
template:
clusterCaCert:
metadata:
annotations:
anno2: val2
labels:
lab1: val1
``` |
Beta Was this translation helpful? Give feedback.
You can use the
.spec.kafka.template
section for it: https://strimzi.io/docs/operators/latest/full/using.html#type-KafkaClusterTemplate-referenceI think your YAML is almost right, but it is missing the template part: