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>
5 years ago
Matt Farina
fba311ba23
Merge pull request #6243 from technosophos/feat/5871-crds-directory
...
feat: Add support for a crds/ directory
5 years ago
Taylor Thomas
7466c4ee3b
Merge pull request #6241 from waveywaves/fix/issue-6079
...
Clone the vals map for every path to avoid mutation
5 years ago
Vibhav Bobade
68a8f36a92
Fix Adding Errors from Linter.Messages to result.Errors
...
This also fixes <nil> beig added to result.Errors
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
5 years ago
Adam Reese
b2d5e41fc7
ref(*): remove dead code
...
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Vibhav Bobade
9ab927f0bb
Test for Linting multiple charts with the same vals instance
...
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
5 years ago
Vibhav Bobade
7da1f35386
Clone the vals map for every path to avoid mutation
...
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
5 years ago
Matt Butcher
98426d6ad3
feat: Add support for a crds/ directory
...
Closes #5871
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Taylor Thomas
16544c8190
fix(registry): Updates registry to handle go 1.12.8 changes
...
Go 1.12.8 introduced some breaking fixes (see 3226f2d492
)
for a CVE. This broke the way we were doing registry reference parsing.
This removes the call to the containerd libraries in favor of our own
parsing and adds additional unit tests
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Matthew Fisher
d99edbfb3e
fix(chartutil): remove executable bits from chartutil generated files
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
4c4b10668a
ref(test): join all hook manifests before building
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
4d6d384741
style(action): fix style tests
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
4c366c972d
fix(action): return an error if len > 0
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
fddf066121
fix(test): restore --cleanup
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Josh Dolitsky
6095070817
ref(internal/experimental/registry): pkg refactor ( #6205 )
...
No more magic separating the metadata from chart tarball - charts are
pushed to registry as a single tarball layer with Chart.yaml in tact.
No more fragile custom symlink chart storage, now following
the OCI Image Layout Specification for chart filesystem cache.
Also:
- Update to ORAS 0.6.0
- Simplify registry client setup with NewClientWithDefaults()
- Remove needless annotations and constants
Fixes #6068
Fixes #6141
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
5 years ago
Adam Reese
cc98242feb
fix(pkg/kube): only wait for events from Jobs and Pods
...
Fixes issue of waiting for events from hook objects that are not Jobs or
Pods.
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Matt Farina
dfe37b9ccd
Merge pull request #6187 from mattfarina/hub-sdk
...
Adding a monocular client as a package
5 years ago
Matthew Fisher
c6d6e456d0
Merge pull request #6054 from jlegrone/test-as-hook
...
Support defining tests as Job resources
5 years ago
Matt Farina
e9a704278b
Updating the httpgetter to use the new user agent function
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Matt Farina
2d4ced9090
Moving monocular client to internal and adding user agent to version pkg
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Matt Farina
2613c3cda3
Adding a monocular client as a package
...
Includes client creation and search
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Taylor Thomas
c9c95ea148
ref(*): Moves packages to internal
...
These packages are generally used only for logic inside of Helm and
can later be re-exported as needed
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Jacob LeGrone
2085228b50
feat(hooks): add Running phase
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Jacob LeGrone
2bd94bc552
Merge branch 'dev-v3' of https://github.com/helm/helm into test-as-hook
5 years ago
Matthew Fisher
806921dcee
feat(getter): set default User-Agent
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Josh Dolitsky
63813fe7b9
feat(cmd): use alt dest for chart export ( #6193 )
...
The adds the -d flag to "helm chart export" to save chart to different
directory.
Also, allow loading with "helm chart save" from both dir and tarball, as
well as make expirimental error more copy-paste friendly.
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
5 years ago
Matthew Fisher
c5137c5390
Merge pull request #6185 from bacongobbler/feature-gates
...
feat(cmd): add feature gates
5 years ago
Matthew Fisher
6e7f5e64a0
fix(action): return nil if no errors occurred
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
fe952445bd
feat(cmd): put OCI commands behind a feature gate
...
This adds a new `gates` package used for interacting with feature gates. It also marks the OCI registry work as experimental, signalling to users that it is not a stable feature of Helm.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Adam Reese
4e625df328
fix(helmpath): fix syntax errors for windows tests
...
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Josh Dolitsky
cc5dece910
fix(chartutil): Ensure nested template dir on save ( #6177 )
...
If a templates/ dir of a chart contained a subdirectory,
for example "templates/tests/test-db.yaml", an error was
being thrown on export due to missing the "templates/test"
directory prior to saving the template file itself.
Fixes #5757
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
5 years ago
Jacob LeGrone
4f6814afb5
refactor(hooks): replace hook execution Successful bool with HookPhase
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Jacob LeGrone
047dd5911a
Fix make test
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Taylor Thomas
b46d7fd527
fix(kube): Fixes nil panic with stateful set waiting
...
Sometimes the stateful set `rollingUpdate` field can be nil even when the
strategy is a rolling update
Fixes #6174
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Jacob LeGrone
08b2d8a2dc
Merge branch 'dev-v3' of https://github.com/helm/helm into test-as-hook
5 years ago
Taylor Thomas
a749cf4c4e
docs(chart): updates APIVersionV2 comment to reflect the proper name
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Taylor Thomas
4778e2bef5
Merge pull request #6124 from bacongobbler/three-way-merge-patch
...
ref(client): use three-way merge patch strategy
5 years ago
Martin Hickey
a0f0d8b470
Merge pull request #6117 from hickeyma/upd-linter-v2
...
feat(chart): Update linting and checking for apiVersion v2
5 years ago
Adam Reese
2aee21730d
Merge pull request #6142 from joelanford/decouple-cli-vals
...
cmd/*,pkg/*: move ValueOptions and decouple from SDK
5 years ago
Joe Lanford
45f697b507
pkg/cli/values/options_test.go: re-add MergeValues test with mergeMaps
...
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
5 years ago
Matthew Fisher
186f6c512f
fix(plugin): add HELM_HOME back
...
This allows Helm 2 plugins that used HELM_HOME as a scratchpad to continue to work the same in Helm 3.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
c728611e5a
feat(cli): support XDG base directory specification
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
18ca0dd6c4
ref(client): use three-way merge patch strategy
...
Co-Signed-by: Taylor Thomas <taylor.thomas@microsoft.com>
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Martin Hickey
8f8b2c10e5
Remove the chart lock file as its v1 structure
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 years ago
Martin Hickey
4d47052395
Update linting and checking for apiVersion v1/v2
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 years ago
Jacob LeGrone
49987975a8
fix(test): wait for pods and record status
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Joe Lanford
8a4b70b1e3
review: move ValueOptions to SDK
...
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
5 years ago
Joe Lanford
68ee30b48c
cmd/*,pkg/*: move ValueOptions to cmd package and decouple from SDK
...
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
5 years ago
Jacob LeGrone
5ab42504f1
Merge branch 'dev-v3' of https://github.com/helm/helm into test-as-hook
5 years ago
Taylor Thomas
0d8b30f46d
Merge pull request #6085 from thomastaylor312/ref/better_kube_client
...
ref(*): Refactors kube client to be a bit more friendly
5 years ago