Skip to main content

Module resolve

Module resolve 

Source
Expand description

Pure resolution of per-target defaults and overrides.

These helpers are the single place where the optional export: manifest section is turned into concrete values consumed by the emitters. Keeping all defaults here (namespace derived from the project name, replicas of one, resources enabled by default) means they are defined and tested once and shared by every emitter without duplication.

Constants§

SECRET_MARKERS
Environment key fragments that classify a variable as a secret rather than plain configuration.

Functions§

chart_name_for
Returns the Helm chart name.
chart_version_for
Returns the Helm chart version string.
enabled_for
Returns true when resource should be emitted for target.
image_pull_policy_for
Returns the image pull policy for resource on the Kubernetes or Helm target.
namespace_for
Returns the Kubernetes namespace to use for the export.
replicas_for
Returns the replica count for resource on target.