Xin Ruan
a2b98281a1
Use errors.Is to compare
...
Signed-off-by: Xin Ruan <xin.ruan@sap.com>
3 years ago
Martin Hickey
3636f68247
Merge pull request from GHSA-6rx9-889q-vv2r
...
Update string value name handling
3 years ago
Martin Hickey
638ebffbc2
Merge pull request from GHSA-53c4-hhmh-vw5q
...
Update repo handling
3 years ago
Martin Hickey
bafafa8bb1
Merge pull request from GHSA-67fx-wx78-jx33
...
Update schema validation handling
3 years ago
Soujanya Mangipudi
6c76abb3df
Resolve conflicts for go.mod and go.sum
...
Signed-off-by: Soujanya Mangipudi <somangip@microsoft.com>
3 years ago
Soujanya Mangipudi
038cc4a0ca
Merge branch 'main' into main
...
Signed-off-by: Soujanya Mangipudi <somangip@microsoft.com>
3 years ago
Mikhail Kopylov
593dd0aef1
Add `helm get metadata` command
...
Signed-off-by: Mikhail Kopylov <mih.kopylov@yandex.ru>
3 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
3 years ago
Martin Hickey
b1b0d18a83
Merge pull request #11508 from sap-contributions/improve-plugin-install-error
...
improve error message on plugin install
3 years ago
Martin Hickey
b6fef6c466
Fix backwards compatibility
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
3 years ago
Zuhair AlSader
0fdfe05844
docs: add docs for cli/values.Options
...
Signed-off-by: Zuhair AlSader <zuhair@koor.tech>
3 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>
3 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>
3 years ago
Martin Hickey
ced54b1289
Merge pull request #11582 from yxxhero/bump-sprig-version-3.2.3
...
bump sprig version 3.2.3
3 years ago
Xin Ruan
f01486a0ef
Use wrapped error so that ErrNoObjectsVisited can be compared after return.
...
Signed-off-by: Xin Ruan <xin.ruan@sap.com>
3 years ago
yxxhero
fda1a0b10a
bump sprig version 3.2.3
...
Signed-off-by: yxxhero <aiopsclub@163.com>
3 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
3 years ago
Alex Petrov
f908379f1f
refactor: create a helper for checking if a release is uninstalled
...
Signed-off-by: Alex Petrov <alex.petrov.vt@gmail.com>
3 years ago
Martin Hickey
a59e584684
Update string handling
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
3 years ago
Alex Petrov
9e198fa89d
fix: reinstall previously uninstalled chart with --keep-history
...
Before, if a chart was uninstalled using the `--keep-history` flag, the
next attempt to upgrade/install the chart would result in an error.
This commit fixes that by correctly checking if the last release of the
chart stored in history has been uninstalled and running the install
with the `--replace` flag if that's the case.
Signed-off-by: Alex Petrov <alex.petrov.vt@gmail.com>
3 years ago
Martin Hickey
256e976331
Update repo handling
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
3 years ago
Martin Hickey
3974136b6e
Merge pull request #11426 from cenkalti/leader-changed
...
Fix handling of "leader changed" errors
3 years ago
Philipp Stehle
965f8591e7
improve error message on plugin install
...
Signed-off-by: Philipp Stehle <philipp.stehle@sap.com>
3 years ago
Philipp Stehle
dfb25e13de
harmonize URL reference resolving
...
Fixes https://github.com/helm/helm/issues/11472
Signed-off-by: Philipp Stehle <philipp.stehle@sap.com>
3 years ago
Matt Farina
9a5eb70320
Merge pull request #11442 from catandcoder/main
...
fix a few function names on comments
3 years ago
Wonyeong Choi
0ebd6202d8
Update logic of non-git situation just to print warning logs
...
Signed-off-by: Wonyeong Choi <ciwnyg0815@gmail.com>
3 years ago
Andrew Block
e80ab00108
Merge pull request #11480 from jouve/oci
...
redirect registry client output to stderr
3 years ago
Igor Manushin
203f31d57b
Add exact version test. See also #7563
...
Signed-off-by: Igor Manushin <igor.manushin@gmail.com>
3 years ago
Ashish Kurmi
115151bc3f
Update dependabot config to include github actions
...
Signed-off-by: Ashish Kurmi <akurmi@stepsecurity.io>
3 years ago
Wonyeong Choi
c027014019
Add a flag var to check git is installed or not
...
Signed-off-by: Wonyeong Choi <ciwnyg0815@gmail.com>
3 years ago
Andrew Block
269dd247d0
Merge pull request #11300 from porridge/better-logging
...
During deletion, explicitly log already deleted resource.
3 years ago
Ryan Drew
5aa316e1ee
Add support for CSVs in template --api-versions arg
...
This commit changes the template sub-command argument
`--api-versions` from `StringArrayVarP` to `StringSliceVarP`,
to allow support for comma separated variables. This will allow
users to use a syntax such as `--api-versions one,two,three` over
`--api-versions one --api-versions two --api-versions three`.
Fixes : #11485
Signed-off-by: Ryan Drew <ryan.drew@isovalent.com>
3 years ago
yanggang
61374f6554
update .golangci for go1.18
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
3 years ago
Cyril Jouve
1535ad5671
redirect registry client output to stderr
...
Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
3 years ago
dependabot[bot]
b3afe43278
chore(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.1
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Martin Hickey
7ed9d16dc7
Merge pull request #11462 from p33t/main
...
Readiness & liveness probes correct port
3 years ago
shankeerthan-kasilingam
33121a80ff
strict file permissions of repository.yaml
...
Fixes #11451
Signed-off-by: shankeerthan-kasilingam <shankeerthan1995@gmail.com>
3 years ago
Peter Leong
9d027eaac8
Readiness & liveness probes correct port
...
Port number now comes from values.yaml
Signed-off-by: Peter Leong <1179301+p33t@users.noreply.github.com>
3 years ago
Martin Hickey
775af2a0ce
Update schema validation handling
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
3 years ago
Graham Reed
9fe912f3c5
Check redefinition of define and include in tpl
...
Signed-off-by: Graham Reed <greed@7deadly.org>
3 years ago
Graham Reed
ebf5e1e2af
Check that `.Template` is passed through `tpl`
...
Signed-off-by: Graham Reed <greed@7deadly.org>
3 years ago
Graham Reed
0a6e7d95ab
Make sure empty `tpl` values render empty.
...
Signed-off-by: Graham Reed <greed@7deadly.org>
3 years ago
Graham Reed
d1e9a242a7
Pick the test improvement out of PR#8371
...
<https://github.com/helm/helm/pull/8371 >
This covers:
- `tpl` text can `include` a `define` provided in a partial file
- `tpl` text can `include` a `define` provided in its text
- `tpl` text can be loaded via `.Files.Get`
Signed-off-by: Graham Reed <greed@7deadly.org>
3 years ago
Graham Reed
a7d3fd6c09
Allow a nested `tpl` invocation access to `defines` in a containing one
...
Signed-off-by: Graham Reed <greed@7deadly.org>
3 years ago
Graham Reed
e2a7c7998a
Remove the 'reference templates' concept
...
As we're using `t.Clone()` we already get the right 'references'.
Signed-off-by: Graham Reed <greed@7deadly.org>
3 years ago
cui fliter
09d3f31358
fix a few function names on comments
...
Signed-off-by: cui fliter <imcusg@gmail.com>
3 years ago
Qifan Shen
9d59d92abb
use intstr.GetScaledValueFromIntOrPercent instead of the deprecated
...
Signed-off-by: Qifan Shen <sqfphoenix@163.com>
3 years ago
Andrew Block
d79ae9f927
Merge pull request #11436 from mattfarina/fix-deploy2
...
Updating the deb location for azure cli
3 years ago
Matt Farina
70a3df49d7
Updating the deb location for azure cli
...
This update moves to ubuntu jammy. The name moves off of debian
version names because jammy is based on bookworm and azure cli
does not have debian package support with bookworm
This is an update to the previous update for this because the
CircleCI environment is ubuntu 20.04 but the container this is
running is has 22.04 as the ubuntu version. Updating the in
container to 22.04 (jammy).
Signed-off-by: Matt Farina <matt.farina@suse.com>
3 years ago
Cenk Alti
b5378b3a5d
retry http request on temporary errors
...
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
3 years ago