Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment values are not injected to the chart #2137

Open
scrhicks opened this issue May 3, 2022 · 4 comments
Open

Environment values are not injected to the chart #2137

scrhicks opened this issue May 3, 2022 · 4 comments

Comments

@scrhicks
Copy link

scrhicks commented May 3, 2022

Hello

I created simple helmfile to deploy vault with production environment. But after apply the values from production config was not apply to the resources. What I'm doing wrong?

helmfile.yaml

repositories:
- name: hashicorp
  url: https://helm.releases.hashicorp.com

environments:
  production:
    values:
      - environments/production/vault.yaml

releases:
  - name: vault
    namespace: vault
    createNamespace: true
    labels:
      app: vault
    chart: hashicorp/vault
    version: 0.19.0

Sync command:

helmfile --selector app=vault --environment=production sync

Best regards,
Przemyslaw

@baryal2022
Copy link

Same here

@morozovcookie
Copy link

Hello,

I'm tried same stuff with Helmfile version v0.145.4, but instead of values.yaml in environment configuration I specify concrete variables.

@yxxhero
Copy link
Contributor

yxxhero commented Aug 29, 2022

repositories:
- name: hashicorp
  url: https://helm.releases.hashicorp.com

environments:
  production:
    values:
      - environments/production/vault.yaml

releases:
  - name: vault
    namespace: vault
    createNamespace: true
    labels:
      app: vault
    chart: hashicorp/vault
    version: 0.19.0
    # pass values
    values:
      - vaulues.yaml.gotmpl  # use go template in this file. and config from environments/production/vault.yaml

@yxxhero
Copy link
Contributor

yxxhero commented Aug 29, 2022

see: #2148

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants