Carlos Lima
6991a0a531
Make annotateAndMerge deterministic
...
Signed-off-by: Carlos Lima <carlos@cpan.org>
3 months ago
Carlos Lima
c01e76b5c3
review: change annotation name to postrenderer.helm.sh/postrender-filename
...
Signed-off-by: Carlos Lima <carlos@cpan.org>
3 months ago
Carlos Lima
a1416cf225
review: style changes
...
Signed-off-by: Carlos Lima <carlos@cpan.org>
3 months ago
Carlos Lima
859721bd77
review: rewrite error messages from the end-user perspective
...
Signed-off-by: Carlos Lima <carlos@cpan.org>
3 months ago
Carlos Lima
b26b473bf6
review: make splitAndDeannotate private
...
Signed-off-by: Carlos Lima <carlos@cpan.org>
3 months ago
Carlos Lima
855b5a44b7
review: make annotateAndMerge private
...
Signed-off-by: Carlos Lima <carlos@cpan.org>
3 months ago
Carlos Lima
1d993f9e2d
review: make filenameAnnotation private
...
Signed-off-by: Carlos Lima <carlos@cpan.org>
3 months ago
Carlos Lima
e6362d74c8
Allow post-renderer to process hooks
...
This annotates and merges all manifests before sending to the
postrender, reversing the process and recovering the filenames
afterwards.
closes #7891
Signed-off-by: Carlos Lima <carlos@cpan.org>
3 months ago
Zach Burgess
3b26ddc22b
Update tests in create_test.go and package_test.go to work in a temp dir.
...
Signed-off-by: Zach Burgess <zachburg@google.com>
3 months ago
Zach Burgess
b703d5b4bb
Return early when linting if the `templates/` dir does not exist
...
The `vaildateTemplatesDir` function would still return `nil` if the directory doesn't exist,
so the early return that was documented never occurs.
Signed-off-by: Zach Burgess <zachburg@google.com>
3 months ago
Zach Burgess
a99c3700f0
Return early if the `/crds` directory does not exist.
...
Don't silently discard the error from `os.Stat`.
Signed-off-by: Zach Burgess <zachburg@google.com>
3 months ago
Zach Burgess
562ff982cb
Early return if the `/crds` directory does not exist and don't silently discard the error from `os.Stat`.
...
Signed-off-by: Zach Burgess <zachburg@google.com>
3 months ago
Zach Burgess
d6ddd8e661
Document that attempting to parse YAML checks that the CRD is not a
...
template
Signed-off-by: Zach Burgess <zachburg@google.com>
3 months ago
Zach Burgess
e4c88faeff
Update test assertions
...
Signed-off-by: Zach Burgess <zachburg@google.com>
3 months ago
Zach Burgess
bc35ea5ad7
Fix comment in pkg/lint/rules/testdata/invalidcrdsdir/values.yaml
...
Signed-off-by: Zach Burgess <zachburg@google.com>
3 months ago
Zach Burgess
21b9aa3d94
Lint the `crds/` directory.
...
This checks that the `crds/` dir only contains YAML files that define
K8s resources with `kind: CustomResourceDefinition`.
Checking that the YAML files are not templates will be done in a
separate commit.
Signed-off-by: Zach Burgess <zachburg@google.com>
3 months ago
Matt Farina
ca769df369
Merge pull request #31018 from mattfarina/make-logging-configurable
...
Move logging setup to be configurable
3 months ago
Thiago Presa
afd63fed77
test: increase test coverage for pkg/pusher
...
Signed-off-by: Thiago Presa <thiago.addevico@gmail.com>
3 months ago
Matt Farina
f0cf9c28f0
Move logging setup to be configurable
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
3 months ago
Matt Farina
17b3b5b19f
Merge pull request #13558 from helm/dependabot/go_modules/main/github.com/Masterminds/semver/v3-3.3.1
...
Bump github.com/Masterminds/semver/v3 from 3.3.0 to 3.3.1
3 months ago
dependabot[bot]
74472a8640
Bump github.com/Masterminds/semver/v3 from 3.3.0 to 3.3.1
...
Bumps [github.com/Masterminds/semver/v3](https://github.com/Masterminds/semver ) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/Masterminds/semver/releases )
- [Changelog](https://github.com/Masterminds/semver/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Masterminds/semver/compare/v3.3.0...v3.3.1 )
---
updated-dependencies:
- dependency-name: github.com/Masterminds/semver/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 months ago
Matt Farina
968ebc3a15
Merge pull request #30991 from helm/dependabot/go_modules/main/k8s-io-82a99e9b2d
...
build(deps): bump the k8s-io group with 7 updates
3 months ago
Robert Sirchia
e53281bbde
Merge pull request #31004 from andreped/patch-1
...
fix(docs): Typofix in README
3 months ago
Robert Sirchia
c48bd5b907
Merge pull request #31002 from curlwget/main
...
chore: fix function in comment
3 months ago
dependabot[bot]
d4e444370f
build(deps): bump the k8s-io group with 7 updates
...
Bumps the k8s-io group with 7 updates:
| Package | From | To |
| --- | --- | --- |
| [k8s.io/api](https://github.com/kubernetes/api ) | `0.33.1` | `0.33.2` |
| [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver ) | `0.33.1` | `0.33.2` |
| [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery ) | `0.33.1` | `0.33.2` |
| [k8s.io/apiserver](https://github.com/kubernetes/apiserver ) | `0.33.1` | `0.33.2` |
| [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime ) | `0.33.1` | `0.33.2` |
| [k8s.io/client-go](https://github.com/kubernetes/client-go ) | `0.33.1` | `0.33.2` |
| [k8s.io/kubectl](https://github.com/kubernetes/kubectl ) | `0.33.1` | `0.33.2` |
Updates `k8s.io/api` from 0.33.1 to 0.33.2
- [Commits](https://github.com/kubernetes/api/compare/v0.33.1...v0.33.2 )
Updates `k8s.io/apiextensions-apiserver` from 0.33.1 to 0.33.2
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases )
- [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.33.1...v0.33.2 )
Updates `k8s.io/apimachinery` from 0.33.1 to 0.33.2
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.33.1...v0.33.2 )
Updates `k8s.io/apiserver` from 0.33.1 to 0.33.2
- [Commits](https://github.com/kubernetes/apiserver/compare/v0.33.1...v0.33.2 )
Updates `k8s.io/cli-runtime` from 0.33.1 to 0.33.2
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.33.1...v0.33.2 )
Updates `k8s.io/client-go` from 0.33.1 to 0.33.2
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.33.1...v0.33.2 )
Updates `k8s.io/kubectl` from 0.33.1 to 0.33.2
- [Commits](https://github.com/kubernetes/kubectl/compare/v0.33.1...v0.33.2 )
---
updated-dependencies:
- dependency-name: k8s.io/api
dependency-version: 0.33.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-io
- dependency-name: k8s.io/apiextensions-apiserver
dependency-version: 0.33.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-io
- dependency-name: k8s.io/apimachinery
dependency-version: 0.33.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-io
- dependency-name: k8s.io/apiserver
dependency-version: 0.33.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-io
- dependency-name: k8s.io/cli-runtime
dependency-version: 0.33.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-io
- dependency-name: k8s.io/client-go
dependency-version: 0.33.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-io
- dependency-name: k8s.io/kubectl
dependency-version: 0.33.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-io
...
Signed-off-by: dependabot[bot] <support@github.com>
3 months ago
Robert Sirchia
7fdd80bbc7
Merge pull request #31006 from helm/dependabot/go_modules/main/sigs.k8s.io/yaml-1.5.0
...
build(deps): bump sigs.k8s.io/yaml from 1.4.0 to 1.5.0
3 months ago
dependabot[bot]
abe4e7f692
build(deps): bump sigs.k8s.io/yaml from 1.4.0 to 1.5.0
...
Bumps [sigs.k8s.io/yaml](https://github.com/kubernetes-sigs/yaml ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/kubernetes-sigs/yaml/releases )
- [Changelog](https://github.com/kubernetes-sigs/yaml/blob/master/RELEASE.md )
- [Commits](https://github.com/kubernetes-sigs/yaml/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: sigs.k8s.io/yaml
dependency-version: 1.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 months ago
André Pedersen
cc733a0ca9
[docs] Typofix in README
...
Signed-off-by: André Pedersen <andrped94@gmail.com>
3 months ago
curlwget
bfc1af68fb
chore: fix function in comment
...
Signed-off-by: curlwget <curlwget@icloud.com>
3 months ago
George Jenkins
a2a0935cba
Merge pull request #30900 from unguiculus/issue-12952
...
Add timeout flag to repo add and update commands
3 months ago
Terry Howe
f55c462a79
fix: force bearer oauth for everything
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
3 months ago
Robert Sirchia
8e69436435
Merge pull request #30912 from Bhargavkonidena/fix_30893
...
Fix #30893 - issue templates
3 months ago
Robert Sirchia
ba0fbdeb57
Merge pull request #30979 from TerryHowe/oras-v2-login-for-v4
...
fix: OAuth username password login for v4
3 months ago
George Jenkins
aeb6194672
Merge pull request #30981 from TerryHowe/fix-lint-test-setenv-errors
...
fix: lint test SetEnv errors
3 months ago
Terry Howe
df482346db
fix: lint test SetEnv errors
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
3 months ago
Bhargavkonidena
a5084dc0a7
Update bug-report.yaml
...
Signed-off-by: Bhargavkonidena <Bhargavkonidena@users.noreply.github.com>
3 months ago
Terry Howe
47980159b3
fix: user username password for login
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
3 months ago
Matt Farina
4f018e4f42
Merge pull request #30973 from manslaughter03/fix/issue-13648
...
fix: wrap run release test error in case GetPodLogs failed.
3 months ago
manslaughter03
bc44614a78
fix: wrap run release test error in case GetPodLogs failed.
...
Signed-off-by: manslaughter03 <manslaughter03@gmail.com>
3 months ago
Matt Farina
0a8194c9a3
Merge pull request #30972 from TerryHowe/kube-client-update-mutex
...
fix: kube client create mutex
3 months ago
Terry Howe
744c6b5a97
fix: kube client create mutex
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
3 months ago
Bhargavkonidena
b9008b2caa
Update bug-report.yaml
...
Signed-off-by: Bhargavkonidena <Bhargavkonidena@users.noreply.github.com>
3 months ago
Ashmit Bhardwaj
e060fbe185
updated docs
...
Signed-off-by: Ashmit Bhardwaj <ashmit.bhardwaj@fmr.com>
3 months ago
Ashmit Bhardwaj
0389407cbc
removed unnecessary binary file
...
Signed-off-by: Ashmit Bhardwaj <ashmit.bhardwaj@fmr.com>
3 months ago
Ashmit Bhardwaj
b305a501e8
added documentation and test cases for api-versions flag
...
Signed-off-by: Ashmit Bhardwaj <ashmit.bhardwaj@fmr.com>
3 months ago
Bhargavkonidena
210e29d489
Update bug-report.yaml
...
Signed-off-by: Bhargavkonidena <Bhargavkonidena@users.noreply.github.com>
3 months ago
Matt Farina
a73c51ca08
Merge pull request #30961 from helm/dependabot/go_modules/main/golang.org/x/crypto-0.39.0
...
build(deps): bump golang.org/x/crypto from 0.38.0 to 0.39.0
4 months ago
Matt Farina
919933553b
Merge pull request #30958 from TerryHowe/repo-update-cmd-mutex
...
fix: repo update cmd mutex
4 months ago
dependabot[bot]
b250b1de82
build(deps): bump golang.org/x/crypto from 0.38.0 to 0.39.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.38.0 to 0.39.0.
- [Commits](https://github.com/golang/crypto/compare/v0.38.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.39.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
Matt Farina
284ca17ae9
Merge pull request #30962 from helm/dependabot/go_modules/main/golang.org/x/text-0.26.0
...
build(deps): bump golang.org/x/text from 0.25.0 to 0.26.0
4 months ago