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

Oddity with chart searching #60

Closed
sstarcher opened this issue Jun 15, 2018 · 3 comments
Closed

Oddity with chart searching #60

sstarcher opened this issue Jun 15, 2018 · 3 comments
Labels

Comments

@sstarcher
Copy link
Contributor

  • Running helm search private/elasticsearch returns results
  • Running helm diff upgrade derp private/elasticsearch --allow-unreleased fails with
Error: chart "elasticsearch" matching  not found in private index. (try 'helm repo update'). No chart version found for elasticsearch-
Usage:
  diff upgrade [flags] [RELEASE] [CHART]

Examples:
  helm diff upgrade my-release stable/postgresql --values values.yaml

Flags:
      --allow-unreleased       enables diffing of releases that are not yet deployed via Helm
  -h, --help                   help for upgrade
      --reset-values           reset the values to the ones built into the chart and merge in any new values
      --reuse-values           reuse the last release's values and merge in any new values
      --set stringArray        set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
      --suppress stringArray   allows suppression of the values listed in the diff output
  -q, --suppress-secrets       suppress secrets in the output
  -f, --values valueFiles      specify values in a YAML file (can specify multiple) (default [])
      --version string         specify the exact chart version to use. If this is not specified, the latest version is used

Global Flags:
      --no-color   remove colors from the output

Error: plugin "diff" exited with error
@sstarcher
Copy link
Contributor Author

It looks like the root cause of the issue is only having pre-released versions and no released version. When helm-diff is searching it's searching only for released versions. The default behavior of helm search is to show pre-released versions.

@mumoshu
Copy link
Collaborator

mumoshu commented Aug 27, 2018

@sstarcher What if you added --version ">0.0.0-a" to helm diff upgrade?

The context is helm/helm#2407 and technosophos/k8s-helm@28ec923.

helm-diff seems to run an equivalent of helm fetch, so the fix should be brought by how we could make helm fetch to discover prereleased versions.

@stale
Copy link

stale bot commented Nov 8, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 8, 2019
@stale stale bot closed this as completed Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants