Add snapshot modes (#974)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Pascal Vizeli 2021-06-22 13:50:08 +02:00 committed by GitHub
parent d6a6a54b0b
commit 6beab48be8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -178,9 +178,10 @@ image: repo/{arch}-my-custom-addon
| panel_icon | string | no | Default: `mdi:puzzle`. MDI icon for the menu panel integration.
| panel_title | string | no | Default is the add-on name, but can be modified with this option.
| panel_admin | bool | no | Default `true`. Make menu entry only available with admin privileged.
| snapshot_exclude | list | no | List of file/path (with glob support) that are excluded from snapshots.
| snapshot | string | no | `hot` (default) or `cold`. If `cold`, the supervisor turns the add-on off before taking a snapshot (the `pre/post` options are ignored when `cold` is used).
| snapshot_pre | string | no | Command to execute in the context of the add-on before the snapshot is taken.
| snapshot_post | string | no | Command to execute in the context of the add-on after the snapshot was taken.
| snapshot_exclude | list | no | List of file/path (with glob support) that are excluded from snapshots.
| advanced | bool | no | Default `false`. Make addon visible in simple mode.
| stage | string | no | Default `stable`. Flag add-on with follow attribute: `stable`, `experimental` or `deprecated`
| init | bool | no | Default `true`. Disable the Docker default system init. Use this if the image has its own init system.