Skip to content

Fields are empty after execution #6

@khauser

Description

@khauser

values.yaml

icm:
  icm-as:
    image:
      repository: "${ICM_TEST_IMAGE}"

environment.sh

#!/usr/bin/env bash
ICM_TEST_IMAGE="whatever"

After executing source ./environment.sh and helm subenv -f values.yaml the env variable is replaced with an empty string.

My base image for execution is ubuntu-20.4-DS1_v2-adopt-adoptium-jdk with the following RUN cmd to install helm:

RUN apk add --no-cache ca-certificates bash git openssh curl \
    && wget -q https://storage.googleapis.com/kubernetes-release/release/${KUBE_LATEST_VERSION}/bin/linux/amd64/kubectl -O /usr/local/bin/kubectl \
    && chmod +x /usr/local/bin/kubectl \
    && wget -q https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/local/bin/helm \
    && chmod +x /usr/local/bin/helm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions