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

Auto reconcile after update CHIT

Open RRMurzakov opened this issue 1 year ago • 2 comments

Hi, we are trying to do user management in a separate repository using CHIT, but we ran into a problem, reconcile does not start when updating CHIT. It can be started manually using spec.taskID in CHE, but this is not suitable for our solution. Are there any workarounds to run reconline if something has changed, for example some resource: secret, cm or something else. CHI and CHIT are in different repositories

clickhouse-operator 0.23.5 clickhouse 24.3.9

RRMurzakov avatar Oct 03 '24 16:10 RRMurzakov

@RRMurzakov , this is intentional, since changing one CHIT may trigger reconcile of everything, that is not good. So operator detects CHIT changes, but do not apply them automatically. Maybe we can have a flag for that.

alex-zaitsev avatar Oct 04 '24 16:10 alex-zaitsev

@RRMurzakov , this is intentional, since changing one CHIT may trigger reconcile of everything, that is not good. So operator detects CHIT changes, but do not apply them automatically. Maybe we can have a flag for that.

Is it possible to add a flag to get the associated chi according to the chiSelector of chit when reconcile chit, and then put these chi into the queue?

chengjoey avatar Oct 10 '24 02:10 chengjoey