Altinity/clickhouse-operator

Auto reconcile after update CHIT

RRMurzakov opened this issue · 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 , 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.

@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?