mc-bootstrap/.env

5 lines
332 B
Bash

export FLUX_VERSION=$(yq '.charts.[] | select(.name == "flux-app") | .version' k8s-configs/config.yaml)
export FLUX_RELEASE=$(yq '.releases.[] | select(.name == "flux-giantswarm") | .name' k8s-configs/config.yaml)
export FLUX_NAMESPACE=$(yq '.releases.[] | select(.name == "flux-giantswarm") | .namespace' k8s-configs/config.yaml)