Feat: Janitor add debug and loop options
This commit is contained in:
parent
4bf084090e
commit
ccec08fd26
@ -6,8 +6,8 @@ cleanup:
|
|||||||
KEEP_IMAGES: "${KEEP}"
|
KEEP_IMAGES: "${KEEP}"
|
||||||
KEEP_CONTAINERS: "${KEEPC}"
|
KEEP_CONTAINERS: "${KEEPC}"
|
||||||
KEEP_CONTAINERS_NAMED: "${KEEPCN}"
|
KEEP_CONTAINERS_NAMED: "${KEEPCN}"
|
||||||
LOOP: "true"
|
LOOP: "${LOOP}"
|
||||||
DEBUG: "0"
|
DEBUG: "${DEBUG}"
|
||||||
labels:
|
labels:
|
||||||
io.rancher.scheduler.global: "true"
|
io.rancher.scheduler.global: "true"
|
||||||
io.rancher.scheduler.affinity:host_label_ne: "${EXCLUDE_LABEL}"
|
io.rancher.scheduler.affinity:host_label_ne: "${EXCLUDE_LABEL}"
|
||||||
|
@ -34,3 +34,21 @@
|
|||||||
default: "**None**"
|
default: "**None**"
|
||||||
required: false
|
required: false
|
||||||
type: "string"
|
type: "string"
|
||||||
|
- variable: "DEBUG"
|
||||||
|
label: "Enable more debugging output on pattern matches"
|
||||||
|
description: "Read https://github.com/meltwater/docker-cleanup#environment-variables"
|
||||||
|
required: true
|
||||||
|
default: 0
|
||||||
|
type: "enum"
|
||||||
|
options:
|
||||||
|
- 0
|
||||||
|
- 1
|
||||||
|
- variable: "LOOP"
|
||||||
|
label: "Ability to do non-looped cleanups, run it once and exit. Defaults to yes to run it forever in loops."
|
||||||
|
description: "Read https://github.com/meltwater/docker-cleanup#environment-variables"
|
||||||
|
required: true
|
||||||
|
default: true
|
||||||
|
type: "enum"
|
||||||
|
options:
|
||||||
|
- false
|
||||||
|
- true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user