Closed jpf91 closed 3 years ago
A friendly reminder that this issue had no activity for 30 days.
It would probably be better for you to open PR's then issues...
A friendly reminder that this issue had no activity for 30 days.
@vrothberg WDYT?
Yes, I am in favor of doing that. There is a number of things I want to work on for auto updates. Once we leave bug scrubbing, I'd love to spend some time on it.
Another thing I want to do is get a REST endpoint, such that auto updates can be triggered remotely.
Note: I started spending time on it.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
It'd be great to have much more configuration options for podman auto-update: I have quite some services which I don't want updated automatically. These are things such as IPA client containers which perform a join to the IPA directory which should not happen unattended (can easily break depending on DNS and network state). Because of this, I have systemd services which should not be restarted if an update is available. I also have services which could be restarted but wouldn't apply the new configuration anyway, as they start persistent containers. To summarize, it'd be great to have these operation modes:
in general, it'd be great to have some more verbose output from auto-update. (Even if it's just for testing whether the labels have been set properly).
I've programmed a small hack to do / demonstrate all this:
This provides (verbose) output similar to this and allows sending it via email:
BTW: My planned strategy for updates is
systemctl stop container && podman rename container container.bak && systemctl start container
where the systemd unit looks like those described here: https://github.com/containers/podman/issues/9948 It would be great if auto-update could integrate well into this workflow.