Expand description
Pure resolution of per-target defaults and overrides.
These helpers are the single place where the export: section is
turned into concrete values, so the defaults (namespace from the
project, replicas of one, enabled by default) are defined and
tested once and shared by every emitter.
Constants§
- SECRET_
MARKERS - Environment key fragments that route a variable into a secret store rather than plain configuration. Matched case-insensitively against the full key name.
Functions§
- chart_
name_ for - Helm chart name: the override if set, otherwise the project name.
- chart_
version_ for - Helm chart version: the override if set, otherwise the project
version, otherwise
0.1.0. - enabled_
for - Whether
resourceis emitted fortarget. A resource is included unless its per-target override setsenabled: false. - image_
pull_ policy_ for - Image pull policy for
resource: a per-resource override wins over the per-target default, which falls back toIfNotPresent. - namespace_
for - Kubernetes namespace: the override if set, otherwise the project name.
- replicas_
for - Replica count for
resourceontarget: a per-resource override wins over the per-target default, which falls back to one. Compose has no replica concept and always resolves to one.