clickhouse-operator icon indicating copy to clipboard operation
clickhouse-operator copied to clipboard

Unable to watch all namespaces in Altinity operator installed by OLM

Open saeedhosseini21 opened this issue 1 year ago • 4 comments

Hello everybody. I'm trying to install the ClickHouse operator using OLM and configure it to watch all namespaces. However, the OLM throws an error: 'AllNamespaces InstallModeType not supported, cannot configure to watch all namespaces.' I checked the CSV file, and only the OwnNamespace InstallMode is enabled. Can someone please explain why?

saeedhosseini21 avatar Aug 19 '24 07:08 saeedhosseini21

I guess it was not supported with old versions of OLM. We will look into that.

alex-zaitsev avatar Aug 21 '24 21:08 alex-zaitsev

I customized CSVs for latest version and could make operator reconcile clusters on other namespaces too. I'd be happy to contribute. If possible, please assign this issue to me.

saeedhosseini21 avatar Aug 25 '24 21:08 saeedhosseini21

@saeedhosseini21 feel free to make PR

Slach avatar Aug 26 '24 02:08 Slach

I created a PR for this issue: https://github.com/Altinity/clickhouse-operator/pull/1510

saeedhosseini21 avatar Sep 13 '24 19:09 saeedhosseini21

Just noting we're also having the same issue on OpenShift. Would love to have a fix in so we can support multiple namespaces given that our cluster(s) are multi-tenant.

jtriley avatar Sep 24 '25 16:09 jtriley

I created a new PR. I hope it fixes the issue @jtriley

https://github.com/Altinity/clickhouse-operator/pull/1825

saeedhosseini21 avatar Sep 25 '25 10:09 saeedhosseini21

fixed in https://github.com/Altinity/clickhouse-operator/pull/1825

Slach avatar Sep 25 '25 12:09 Slach

https://github.com/Altinity/clickhouse-operator/releases/tag/release-0.25.4

alex-zaitsev avatar Sep 26 '25 14:09 alex-zaitsev