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

Support helm-diff binary version(?) #29

Open
bycEEE opened this issue Aug 14, 2020 · 1 comment
Open

Support helm-diff binary version(?) #29

bycEEE opened this issue Aug 14, 2020 · 1 comment

Comments

@bycEEE
Copy link

bycEEE commented Aug 14, 2020

Ran into this issue:

PATH:
  /usr/local/bin/helm-3.3.0

ARGS:
  0: helm-3.3.0 (10 bytes)
  1: --kube-context (14 bytes)
  2: [REDACTED] (42 bytes)
  3: diff (4 bytes)
  4: upgrade (7 bytes)
  5: --reset-values (14 bytes)
  6: --allow-unreleased (18 bytes)
  7: prometheus (10 bytes)
  8: stable/prometheus-operator (26 bytes)
  9: --version (9 bytes)
  10: ~9.3.0 (6 bytes)
  11: --disable-validation (20 bytes)
  12: --namespace (11 bytes)
  13: monitoring (10 bytes)
  14: --values (8 bytes)
  15: /var/folders/qr/2m8w9ym94yq4z00qxk_1wxfw0000gp/T/values036368530 (64 bytes)
  16: --detailed-exitcode (19 bytes)
  17: --suppress-secrets (18 bytes)
  18: --no-color (10 bytes)
  19: --context (9 bytes)
  20: 3 (1 bytes)

ERROR:
  exit status 1

EXIT STATUS
  1

STDERR:
  Error: unknown flag: --disable-validation

This is due to me using 3.1.1 of the helm-diff plugin, 3.1.2 changelog adds the following parameter: --disable-validation.

I'm playing around with using this provider to enforce binary versions across our team with strictly terraform and I'm wondering if a terraform provider can handle specifying helm plugin versions.

@mumoshu
Copy link
Owner

mumoshu commented Aug 16, 2020

@bycEEE Hey! Thanks for reporting. I'm aware of this and planning to address it by integrating a package manager into the provider: https://github.com/mumoshu/shoal. So you'll eventually be able to manage versions of helmfile/helm/helm-diff via terraform resources.

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

2 participants