kopf icon indicating copy to clipboard operation
kopf copied to clipboard

Automating Kopf Operator Code Updates: Seeking a Convenient Solution to Avoid Tedious Run Commands

Open skandarchahbouni opened this issue 1 year ago • 1 comments

Keywords

No response

Problem

Hello, I am new to Kopf. I have a simple question: each time I make changes to my operator code, I have to run the Kopf run command again, which is very tedious. Is there a flag to add that automatically detects the changes in the operator?

skandarchahbouni avatar Dec 25 '23 11:12 skandarchahbouni

Hello. Kopf does not do that, but you can use any other utility that restarts the script when the underlying files change — e.g. watchdog/watchmedo, or anything specific to your dev environment.

nolar avatar Dec 25 '23 17:12 nolar