Taylor Thomas
93abfd75ad
Remove reference to stdtime to reduce confusion
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Taylor Thomas
aa429e150a
feat(*): Adds custom time package for better marshalling
...
This package mainly exists to workaround an issue in Go
where the serializer doesn't omit an empty value for time:
https://github.com/golang/go/issues/11939 . This replaces all
release and hook object time references with the new time package
so things actually marshal correctly
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Jacob LeGrone
2d983f27e7
feat(hooks): never delete CustomResourceDefinitions
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
6 years ago
Jacob LeGrone
34d685f8bf
feat(hooks): set default deletion policy to before-hook-creation
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
6 years ago
Adam Reese
1e20ebae35
fix(pkg/kube): validate with OpenAPI on install
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
572b92dc8a
feat(pkg/kube): add openapi validation for k8s objects
...
Add back OpenAPI validation for kubernetes objects.
Fixes : #6382
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matt Farina
9bc7934f35
Updating the module for v3 as the major version
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
Matthew Fisher
4c366c972d
fix(action): return an error if len > 0
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Jacob LeGrone
2085228b50
feat(hooks): add Running phase
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
6 years ago
Jacob LeGrone
4f6814afb5
refactor(hooks): replace hook execution Successful bool with HookPhase
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
6 years ago
Jacob LeGrone
5ab42504f1
Merge branch 'dev-v3' of https://github.com/helm/helm into test-as-hook
6 years ago
Jacob LeGrone
caa4240a30
refactor(release): track test executions via Hook type
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
6 years ago
Jacob LeGrone
72127c391c
feat(test): define tests as Jobs and allow arbitrary supporting resources
...
This updates commands install, upgrade, delete, and test to share the
same implementation for hook execution.
BREAKING CHANGES:
- The `test-failure` hook annotation is removed.
Signed-off-by: Jacob LeGrone <git@jacob.work>
6 years ago