* switch to new repository URLs
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* added warning each time old repository is noticed
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
The tiller primary location is now GitHub Container Registry.
It is also replicatated to GCR, Docker Hub, and Quay.
Signed-off-by: Matt Farina <matt@mattfarina.com>
The stable charts repository is nearing the end of its life. Once
that has happened those who attempt to run helm init will get an
error. This flag provides a means to still use Helm v2 after the
stable charts repository is gone.
A secondary situation is that Helm v2 can be used in environmnets
without a network connection.
Closes#7868
Signed-off-by: Matt Farina <matt@mattfarina.com>
Introduce the `--devel` flag for `helm repo search` command.
`helm repo search` - searches only for stable releases, prerelease versions will be skip
`helm repo search --devel` - searches for releases and prereleases (alpha, beta, and release candidate releases)
`helm repo search --version 1.0.0 - searches for release in version 1.0.0
Signed-off-by: Mateusz Szostok <szostok.mateusz@gmail.com>
This cuts down on the number of duplicate json/yaml marshaling blocks and
simplifies how to add printing to a function by using simple "container" structs
that know how to massage the data
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
unit test adapted for output json or yaml in install_test.go and search_test.go.
docs modified for new flag helm_install.md, helm_repo_list.md, helm_search.md and helm_upgrade.md
Signed-off-by: Michael Schaefer <michael.schaefer@sew-eurodrive.de>
The original is explaining the negation, when the body would not be
included. Which would happen in the complement of the if expression,
ie. flipped by De Morgan's law's:
```
not (or .Values.anUnsetVariable (not .Values.aSetVariable))
==
and (not .Values.anUnsetVariable) .Values.aSetVariable
```
> unset variables evaluate to false
is equivalent to `not .Values.anUnsetVariable`.
> and
is equivalent to `and`.
> .Values.setVariable was negated with the not function
doesn't seem to match `.Values.aSetVariable`.
To me, that would be `not .Values.aSetVariable` instead.
Anyway, explaining the `if` expression as-is and not the negation is
clearer and parallels the first `if` operator.
Signed-off-by: Kevin Lau <kelau1993@gmail.com>