Is there any way to annotate secrets created by operator #8838
Answered
by
scholzj
bahaeddinoz
asked this question in
Q&A
-
Hello, |
Beta Was this translation helpful? Give feedback.
Answered by
scholzj
Jul 13, 2023
Replies: 1 comment 3 replies
-
You can do that using the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah, basically. If you check the resource spec, it is used here for the Kafka part: https://strimzi.io/docs/operators/latest/configuring.html#type-KafkaClusterTemplate-reference ... so it will be somehting like
.spec.kafka.template.clusterCaCert.metadata.annotations. For the users, it will be something like
.spec.template.secret.metadata.annotationsin
KafkaUser`: https://strimzi.io/docs/operators/latest/configuring.html#type-KafkaUserTemplate-reference