Skip to main content

check_deployer_env_mappings

Function check_deployer_env_mappings 

Source
pub fn check_deployer_env_mappings(
    stack: &Stack,
    platform: Platform,
) -> Result<()>
Expand description

On the clouds a protected install delivers a deployer input’s value one of two ways: a secret input’s goes through the install’s deployer-secrets vault, any other input’s is read from the deployment’s store as plain env. A mapping that asks for the other way would drop the value (a text input mapped as a secret has no vault slot) or put a secret where management reads it, so the developer’s release build refuses it, where they see why. Kubernetes installs resolve each mapping’s type from the install’s own values and are not checked. Only the release build calls this: an install keeps running a release it already accepted.