strimzi-kafka-operator icon indicating copy to clipboard operation
strimzi-kafka-operator copied to clipboard

Cannot specify custom logging configmap

Open Oliver-Sellwood opened this issue 3 years ago • 1 comments

Describe the bug I am using helm to deploy the operator and trying to set a custom logging properties for the operator deployment.

In the helm values their is a key named logConfigMap. I expected that by creating a configmap with my custom configuration, and then setting the value of logConfigMap to match that value that the default log config would be overwritten by my custom configuration.

Instead the logConfigMap key simply defines the name of the configmap that the helm release creates.

You can see here that the configmap name is set by the value of logConfigMap

This current implementation seems redundant and doesn't allow for customization of logging configuration without further manual modifications to the created configmap

Oliver-Sellwood avatar Jan 25 '22 03:01 Oliver-Sellwood

Hi. As a workaround, you can specify name of your custom ConfigMap here: https://github.com/strimzi/strimzi-kafka-operator/blob/main/helm-charts/helm3/strimzi-kafka-operator/templates/060-Deployment-strimzi-cluster-operator.yaml#L48

sknot-rh avatar Mar 22 '22 12:03 sknot-rh