Skip to content

Commit 3d9175d

Browse files
committed
docs: state the healthcheck interval floor and the store-reference list shape
1 parent a5cce41 commit 3d9175d

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

architecture/supported-subset.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,10 @@ exception in this group, validated as an actual bool like
370370
(`"2m"`), and milliseconds (`"500ms"`). Compound durations (`"1h30m"`)
371371
and hour suffixes (`"1h"`) are not parsed — each raises rather than being
372372
silently truncated or misinterpreted. An explicit `null` (or an absent
373-
`interval`) defaults to 1 second.
373+
`interval`) defaults to 1 second. The result floors at 1 second: the
374+
interval only paces the script's `podman healthcheck run` polling loop,
375+
which has no sub-second resolution, so `"500ms"` and `0` both poll once a
376+
second.
374377
- **`timeout`, `retries`, `start_period`:** each must be a number (int or
375378
float), a string, or `null` when present. A mapping or list raises
376379
rather than reaching its `--health-*` flag as a literal Python `repr()`.
@@ -434,8 +437,10 @@ The prefix keeps a config from ever colliding with a same-named secret.
434437
`content` (configs only) inline literal text. `external: true` gets its
435438
own rejection message (this package has no analogue to Compose's "must
436439
already exist" store); any other unrecognized key raises generically.
437-
- **Per-service references:** short form (`- name`) or long form (a mapping
438-
with `source` and optionally `target`, `uid`, `gid`, `mode`). `source`
440+
- **Per-service references:** the key's value must be a list — a bare string
441+
raises. Each entry is short form (`- name`) or long form (a mapping with
442+
`source` and optionally `target`, `uid`, `gid`, `mode`), and a long-form
443+
`source` must be a string. `source`
439444
must name a top-level definition of the same kind; an unknown `source`
440445
raises. An unrecognized long-form key raises. When present, `target` must
441446
be a string; `uid`/`gid`/`mode` must each be an int or string, not a bool

0 commit comments

Comments
 (0)