Andrew Block
ead5548a84
Added support for insecure OCI registries
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
4 years ago
Soule BA
e676fd1c2b
Enable custom certificates option for OCI
...
If implemented, users will be able to use custom certificates and CA to
while interacting with OCI registries.
Signed-off-by: Soule BA <bah.soule@gmail.com>
4 years ago
Thomas Runyon
353d74e967
refactor internal/experimental/registry to pkg/registry
...
Signed-off-by: Thomas Runyon <runyontr@gmail.com>
5 years ago
Andrew Block
1a9cb93551
Handling name of OCI file
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
5 years ago
Scott Rigby
4d50526a2b
Move OCI tag semver range logic from OCIGetter to ChartDownloader
...
Signed-off-by: Scott Rigby <scott@r6by.com>
5 years ago
Andrew Block
4f62d3dc1b
Started work on 'helm pull'
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
5 years ago
Josh Dolitsky
230e37ca52
remove hardcoded oci strings, add constant/util
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Matt Farina
17ed9c4cd3
tweak basic handling
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
5 years ago
Guangwen Feng
fee2257e34
Fix typo in comment
...
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
6 years ago
Peter Engelbert
f666fceb30
Remove OCI boolean from struct
...
Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
6 years ago
Peter Engelbert
3028c55858
Clean up imports and add doc comments
...
Additionally, revert `NewPull()` to its existing signature.
Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
6 years ago
Peter Engelbert
3ad08f3ea9
Implement `helm pull` for OCI registries
...
* Implement `helm dep update` for oci dependencies
* New unit tests
* Remove `helm chart pull` command
* New `helm pull` does not depend on registry cache
Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
6 years ago
yxxhero
52295490fd
fix insecure-skip-tls-verify flag does't work on helm install, Keep
...
FindChartInRepoURL and FindChartInAuthRepoURL functions signatures
intact.
Signed-off-by: yxxhero <aiopsclub@163.com>
6 years ago
Matthias Riegler
918deeef18
added option --insecure-skip-tls-verify for helm pull, addresses #7875
...
Signed-off-by: Matthias Riegler <matthias.riegler@taotesting.com>
7 years ago
Matt Farina
a3f92f65e2
Fixes verification output on pull command
...
When using the --verify flag on the pull command the output was
an internal Go object rather than useful detail. This is a bug.
The output new displays who signed the chart along with the
hash.
Fixes #7624
Signed-off-by: Matt Farina <matt@mattfarina.com>
7 years ago
海的澜色
985827d09a
stop with an error immediately if a file or directory with that name already exists ( #7187 )
...
* fix #7182
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* fix testcase
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* update error message
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* complete testCase when file/dir existed.
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* fix the case with current directory
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* fix conflict subdirectory when untardir is the clashing directory
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* update comment
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* add case when destination exists.
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
7 years ago
Andreas Stenius
d3ad6f9c78
cli/pull: pass TLS config to chart downloader from flags. ( #7055 )
...
Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se>
7 years ago
Matt Farina
9bc7934f35
Updating the module for v3 as the major version
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
7 years ago
Adam Reese
1779ad5302
ref(cmd/helm): remove init command
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Adam Reese
b6fdd8783b
feat(cmd/helm): remove need for helm init command
...
* allow repository config via cli
* make `helm repo add` create repo config file if it does not exist
* squash a ton of bugs
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Matthew Fisher
c728611e5a
feat(cli): support XDG base directory specification
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
2800c56f9d
ref(downloader): pass in options to ChartDownloader
...
This restores the ability to pass in parameters at runtime to the
ChartDownloader, enabling users to pass in parameters like the --username
and --password flags.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
...
Signed-off-by: Adam Reese <adam@reese.io>
8 years ago
Matthew Fisher
f185103b60
ref(action): move AddFlags functions back to cmd
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
8 years ago
Matthew Fisher
2b775d693d
ref(action): remove io.Writers, return string instead
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
8 years ago
Matthew Fisher
2571dbf82f
ref: remove pkg/helm, pkg/hapi, pkg/tiller
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
8 years ago