-
Notifications
You must be signed in to change notification settings - Fork 86
Add a watcher for system input files #2334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add a watcher for system input files #2334
Conversation
163082a to
853219d
Compare
fgiorgetti
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to include a message in the startup banner of the system controller, displaying the status of the autoreload definition.
Another thing I am missing here is the fact that if you delete a Site and/or all resources from a given namespace, the Teardown is not being executed.
| "SKUPPER_OUTPUT_PATH": config.hostDataHome, | ||
| "CONTAINER_ENGINE": config.containerEngine, | ||
| "SKUPPER_SYSTEM_RELOAD_TYPE": utils.DefaultStr(os.Getenv(types.ENV_SYSTEM_AUTO_RELOAD), | ||
| types.SystemReloadTypeAuto), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the default here be SystemReloadTypeManual, instead?
| types.SystemReloadTypeManual) | ||
|
|
||
| if systemReloadType == types.SystemReloadTypeManual { | ||
| slog.Default().Error("Automatic reloading is not configured.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe make this a debug level message, not an error.
Implements #2333
Changes:
SKUPPER_SYSTEM_RELOAD_TYPEto "manual"skupper system installneeds to pass said env. variable to the system-controller pod.Additional information: