Tapas Kapadia
92a6640f8a
feat(helm): add ability for --dry-run to do lookup functions
...
When a helm command is run with the --dry-run flag, it will try to connect to the cluster
to be able to render lookup functions.
Closes #8137
Signed-off-by: Tapas Kapadia <tapaskapadia10@gmail.com>
2 years ago
Matt Farina
76157c6d06
Merge pull request #11720 from mattfarina/fix-11712
...
Fix improper use of Table request/response to k8s API
2 years ago
Matt Farina
b2d5235c1c
Merge pull request #11723 from cenkalti/leader-changed-fix
...
Check status code before retrying request
2 years ago
Cenk Alti
442d594570
Check status code before retrying request
...
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2 years ago
Matt Farina
36e18fa6e1
Fix improper use of Table request/response to k8s API
...
Fixes #11712
A change was made that when validation was turned off the Kubernetes
packages were building objects as a Table type. This was done for
display purposes. When details about the objects was going to be
printed as part of #10912 .
This broke rollback, and possibly other functionality, as a Table
type was returned in some cases that needed the regular object.
This caused things to break silently.
The fix involved adding in a new Function (and interface) to
query for tables instead of the objects themselves. There was not
a clean way to add it to the existing function that covered all
cases.
A second problem was noticed along the way. When data was output
via status as YAML or JSON it was in the form of a table rather
than the objects themselves. This did not reflect expectations
and did not match the functionality in kubectl. The code was
updated to return a table when that was presented and the objects
when they are being output for YAML or JSON. The API also supports
this handling to SDK users can replicate this functionality.
API changes made here were never released. The functions were
developed for this release of Helm and only ever appeared in an
RC. In this case, they can be changed.
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
Matt Farina
44ec1c1575
Merge pull request #11704 from mattfarina/bump-version-3.11
...
bump version to v3.11.0
2 years ago
Matt Farina
6facbada26
bump version to v3.11.0
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 9d8fee155b
)
2 years ago
Matt Farina
6487d43965
Merge pull request #11672 from VaibhavSharma-47/feature
...
[CMD/PKG] Adopted resource not replaced when using upgrade --install --force
2 years ago
yxxhero
1c25a1fadd
fix template --output-dir issue
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2 years ago
Matt Farina
774c6ce703
Merge pull request #11439 from phoenixsqf/main
...
use intstr.GetScaledValueFromIntOrPercent instead of the deprecated
2 years ago
Matt Farina
946967ffd1
Merge pull request #11490 from learnitall/pr/learnitall/allow-csv-api-versions
...
Add support for CSVs in template --api-versions arg
2 years ago
Matt Farina
84485da7cf
Merge pull request #11489 from yanggangtony/update-go-lint
...
update .golangci for go1.18
2 years ago
Matt Farina
0aaa7d8394
Merge pull request #11609 from lucacome/bump-containerd
...
Bump containerd to 1.6.15, oras-go to 1.2.2 and image-spec to v1.1.0-rc2
2 years ago
Patrick Scheid
c1a65d589a
Add protection for stack-overflows for nested keys
...
Signed-off-by: Patrick Scheid <p.scheid92@gmail.com>
2 years ago
Martin Hickey
1819f1f616
Merge pull request #11628 from dastrobu/Linting_error_on_null_in_dependencies_is_misleading_#11627
...
change linting error messages for null values in arrays
2 years ago
Luca Comellini
017785a2f1
Bump containerd to 1.6.15, oras-go to 1.2.2 and image-spec to v1.1.0-rc2
...
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2 years ago
Daniel Strobusch
6a5f240e9a
change linting error messages for null values in arrays
...
Closes #11627
Signed-off-by: Daniel Strobusch <1847260+dastrobu@users.noreply.github.com>
2 years ago
Matt Farina
bb13245313
Merge pull request #11545 from helm/dependabot/go_modules/github.com/BurntSushi/toml-1.2.1
...
chore(deps): bump github.com/BurntSushi/toml from 1.2.0 to 1.2.1
2 years ago
Martin Hickey
866c6af20c
Merge pull request #11622 from lucacome/bump-k8s-deps
...
Bump k8s.io deps to v0.26.0
2 years ago
Martin Hickey
162d93f72b
Merge pull request #11226 from programmer04/fix-user-agent
...
Fix User-Agent header in requests made by Helm
2 years ago
Jakub Warczarek
3d81ea22ac
Fix after CR
...
Signed-off-by: Jakub Warczarek <jakub.warczarek@gmail.com>
2 years ago
Jakub Warczarek
f46ff131c2
Trigger CI
...
Signed-off-by: Jakub Warczarek <jakub.warczarek@gmail.com>
2 years ago
Jakub Warczarek
553f1e34f5
Add test for User-Agent header setting and refactor
...
Signed-off-by: Jakub Warczarek <jakub.warczarek@gmail.com>
2 years ago
Jakub Warczarek
2fa7b3d1b7
Fix User-Agent header in requests made by Helm
...
Signed-off-by: Jakub Warczarek <jakub.warczarek@gmail.com>
2 years ago
Luca Comellini
1fc2a6a39c
Bump k8s.io deps to v0.26.0
...
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2 years ago
Matt Farina
50ec3d4fe4
Fixing indentation
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
Matt Farina
6611cdcd01
Merge branch 'main' into 4030-provide-literal-alternative-for-set-flag
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
2 years ago
Matt Farina
71ef5f477b
Merge pull request #11524 from sap-contributions/harmonize-url-reference-resolving
...
harmonize URL reference resolving
2 years ago
Matt Farina
6d2b10832e
Merge pull request #11616 from zalsader/add-docs-cli-values
...
docs: add docs for cli/values.Options
2 years ago
Vaibhav Sharma
3181c7ddad
fix adopted resource not replaced
...
Signed-off-by: Vaibhav Sharma <17532va@gmail.com>
2 years ago
dependabot[bot]
8774890e7e
chore(deps): bump github.com/BurntSushi/toml from 1.2.0 to 1.2.1
...
Bumps [github.com/BurntSushi/toml](https://github.com/BurntSushi/toml ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/BurntSushi/toml/releases )
- [Commits](https://github.com/BurntSushi/toml/compare/v1.2.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: github.com/BurntSushi/toml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Matt Farina
eb7150fc61
Merge pull request #10912 from SoujanyaMangipudi/main
...
feat(helm): Supporting helm3 to show up resource names in helm status
2 years ago
Soujanya Mangipudi
9de543a801
Merge pull request #5 from SoujanyaMangipudi/somangip/MergeHelmMain1219
...
Somangip/merge helm main1219
2 years ago
Soujanya Mangipudi
6f8c1785a4
Merge remote-tracking branch 'helm-upstream/main' into somangip/MergeHelmMain1219
...
Signed-off-by: Soujanya Mangipudi <somangip@microsoft.com>
2 years ago
Matt Farina
5a8e91a010
Merge pull request #11604 from xishengcai/patch-1
...
Update chartrepo.go
2 years ago
Matt Farina
538f6aecca
Merge pull request #11601 from helm/dependabot/go_modules/golang.org/x/text-0.5.0
...
chore(deps): bump golang.org/x/text from 0.4.0 to 0.5.0
2 years ago
Martin Hickey
3636f68247
Merge pull request from GHSA-6rx9-889q-vv2r
...
Update string value name handling
2 years ago
Martin Hickey
638ebffbc2
Merge pull request from GHSA-53c4-hhmh-vw5q
...
Update repo handling
2 years ago
Martin Hickey
bafafa8bb1
Merge pull request from GHSA-67fx-wx78-jx33
...
Update schema validation handling
2 years ago
Soujanya Mangipudi
6c76abb3df
Resolve conflicts for go.mod and go.sum
...
Signed-off-by: Soujanya Mangipudi <somangip@microsoft.com>
2 years ago
Soujanya Mangipudi
038cc4a0ca
Merge branch 'main' into main
...
Signed-off-by: Soujanya Mangipudi <somangip@microsoft.com>
2 years ago
Matt Farina
f91b515a25
Merge pull request #11470 from helm/dependabot/go_modules/github.com/spf13/cobra-1.6.1
...
chore(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.1
2 years ago
Martin Hickey
b1b0d18a83
Merge pull request #11508 from sap-contributions/improve-plugin-install-error
...
improve error message on plugin install
2 years ago
Martin Hickey
b6fef6c466
Fix backwards compatibility
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2 years ago
Zuhair AlSader
0fdfe05844
docs: add docs for cli/values.Options
...
Signed-off-by: Zuhair AlSader <zuhair@koor.tech>
2 years ago
caixisheng
c8890e971e
Update chartrepo.go
...
## case :
1. charmuseum is http
2. nginx https ---> chartmuseum
3. domain, CN is IP
## result:
error: failed to prepare chart for release: chart unavailable: looks like "https://120.55.54.50 " is not a valid chart repository or cannot be reached: Get "https://120.55.54.50/index.yaml ": x509: certificate relies on legacy Common Name field, use SANs instead
Signed-off-by: caixisheng <cc710917049@163.com>
2 years ago
dependabot[bot]
b307d0fbeb
chore(deps): bump golang.org/x/text from 0.4.0 to 0.5.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.4.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Martin Hickey
ced54b1289
Merge pull request #11582 from yxxhero/bump-sprig-version-3.2.3
...
bump sprig version 3.2.3
2 years ago
yxxhero
fda1a0b10a
bump sprig version 3.2.3
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2 years ago
Martin Hickey
21e694e0f9
Merge pull request #11494 from Wonong/add-check-git
...
Add a flag var to check git is installed or not
2 years ago