yxxhero
c4e7485488
add unittes for 'helm dep build' with --skip-refresh flag.
...
Signed-off-by: yxxhero <aiopsclub@163.com>
(cherry picked from commit 4b229cc215
)
5 years ago
yxxhero
5522ce93fd
Add --skip-refresh option in helm dep build
...
Signed-off-by: yxxhero <aiopsclub@163.com>
(cherry picked from commit 09af5447d9
)
5 years ago
Matt Farina
6cdd6114dc
Added tests for PR 8948
...
LoadFiles needs to load the Chart.yaml file first. When later files
are loaded there are checks for metadata. If that is not loaded
the checks could be handled incorrectly.
Signed-off-by: Matt Farina <matt@mattfarina.com>
(cherry picked from commit 82002c3cfb
)
5 years ago
Lehel Gyuro
5257ee5821
[ #7696 ] Avoid crash in chart loader on unexpected file sequence
...
Make sure, that chart metadata is initialized by the time the processing
of the chart is started.
Signed-off-by: Lehel Gyuro <lehel@freemail.hu>
(cherry picked from commit 27807e1bb5
)
5 years ago
Lehel Gyuro
5f5975d9c8
[ #7696 ] Avoid crash in chart loader on unexpected file sequence
...
Make sure, that chart metadata is initialized by the time the processing
of the chart is started.
Signed-off-by: Lehel Gyuro <lehel@freemail.hu>
(cherry picked from commit 8abb44f218
)
5 years ago
Matt Farina
c3548b3946
Updating to k8s 1.19.3 based packages
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
(cherry picked from commit e413c34dde
)
5 years ago
Nandor Kracser
32689d04fc
lint: lint all documents in a multi-doc yaml file
...
Signed-off-by: Nandor Kracser <bonifaido@gmail.com>
(cherry picked from commit dfb5a5e8cc
)
5 years ago
Bridget Kromhout
eba288f6e9
List either incubator or stable.
...
Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
(cherry picked from commit 4a3ffd53ca
)
5 years ago
Bridget Kromhout
4e1a52428d
Clarifies action needed to list new stable repo
...
Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
(cherry picked from commit 86af591e00
)
5 years ago
Christophe VILA
7d9837a858
added test for https://github.com/helm/helm/pull/8913 related to https://github.com/helm/helm/issues/8621
...
Signed-off-by: Christophe VILA <christophe.vila@thalesgroup.com>
(cherry picked from commit 8a4c0bc7b1
)
5 years ago
Christophe VILA
fe23c09552
do not check YAML if nothing was parsed
...
Signed-off-by: Christophe VILA <christophe.vila@thalesgroup.com>
(cherry picked from commit f736af95eb
)
5 years ago
wawa0210
d589c9a9a8
helm search supports semver pre version numbers starting with 0
...
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
(cherry picked from commit da6b240fe7
)
5 years ago
wawa0210
b266b571ce
Fix that the invalid version number of the helm package command will escape
...
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
(cherry picked from commit 2c19838295
)
5 years ago
Martin Hickey
cbaeaaa0c8
Update err message to use the regex pattern directly
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
(cherry picked from commit b83632e757
)
5 years ago
Martin Hickey
1f6fd5df26
Fix the lint error message for valid names
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
(cherry picked from commit 5785dd6d49
)
5 years ago
Bridget Kromhout
e049bd2e84
Updating descriptions
...
Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
(cherry picked from commit 84b02bbee3
)
5 years ago
Janario Oliveira
8f4601546e
Adjusted import
...
Signed-off-by: Janario Oliveira <janario.oliveira@gmail.com>
(cherry picked from commit cf3870a57f
)
5 years ago
Janario Oliveira
f7edaa7459
Reuse kube-client
...
Signed-off-by: Janario Oliveira <janario.oliveira@gmail.com>
(cherry picked from commit 10a29d1662
)
5 years ago
Matt Farina
e1858f7835
Fixes Error: could not find protocol handler for
...
A previous update to automate finding charts in repos when update
was run did not take into account the case for no repo being
specified. This fixes that situation.
Closes #8940
Signed-off-by: Matt Farina <matt@mattfarina.com>
(cherry picked from commit 882db2543c
)
5 years ago
Zhengyi Lai
d0721819fb
Add test case for LoadFiles
...
Signed-off-by: Zhengyi Lai <zheng1@yunify.com>
(cherry picked from commit 9cc00eea24
)
5 years ago
Zhengyi Lai
3755f8a673
Bugfix: panic when chart contains requirements.lock
...
Signed-off-by: Zhengyi Lai <zheng1@yunify.com>
(cherry picked from commit ebf6d7e5b2
)
5 years ago
Matt Farina
7090a89efc
bump version to v3.4.0
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Matt Farina
75b7aeaeeb
Merge pull request #7024 from jan25/issue-6972
...
v3: Prettify Updated time in helm list
5 years ago
Matt Butcher
fe2d7f7792
this rewrites a whole bunch of old repo URLs to the new repo URL ( #8902 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Matt Butcher
af01394e9f
warn and block old repo URLs ( #8903 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Matt Butcher
5f3e560029
improved user-facing error messages to explain the underlying problem ( #8731 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Matthew Fisher
e1d4c67437
Merge pull request #8891 from bridgetkromhout/meeting-details
...
Linking the README to a more complete list of meeting details in the community repo
5 years ago
Matthew Fisher
1a3c019c73
Merge pull request #8887 from bacongobbler/fix-8848
...
add authentication to CircleCI jobs
5 years ago
Bridget Kromhout
0f55fb5316
Linking to a more complete list of meeting details.
...
Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
5 years ago
Matthew Fisher
360212393b
add authentication to CircleCI jobs
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Martin Hickey
8667aa4f98
Merge pull request #8874 from consideRatio/pr/helm-create-template-indentation
...
helm create: make generated YAML indentation more consistent
5 years ago
Matthew Fisher
e73af10d0b
Merge pull request #8696 from f0rmiga/patch-1
...
fix: boilerplate template indentation
5 years ago
Erik Sundell
1d9767fea2
helm create: make generated YAML indentation more consistent
...
Signed-off-by: Erik Sundell <erik@sundellopensource.se>
5 years ago
Matt Farina
fc9b46067f
Merge pull request #8828 from zhijianli88/pipe-stderr
...
TestCheckPerms: utilize pipe to read stderr
5 years ago
Matt Farina
54ea21d245
Merge pull request #8830 from zhijianli88/GOBIN
...
Makefile: check and use GOBIN environment variable first
5 years ago
Matt Farina
6297c021cb
Merge pull request #8795 from mattfarina/feat-8767
...
Adding annotation to index.yaml file
5 years ago
Li Zhijian
e97975d7ad
Makefile: check and use GOBIN environment variable first
...
'go get' will install binaries into GOBIN when it's set which is not
always same with GOPATH/bin
this commit can fix below errors:
~/workspace/k8s/helm$ go env | grep -e GOPATH -e GOBIN -e GOROO
GOBIN="/home/lizj/go/bin"
GOPATH="/home/lizj/gosrc"
GOROOT="/home/lizj/go"
~/workspace/k8s/helm$ make build-cross
(cd /; GO111MODULE=on go get -u github.com/mitchellh/gox)
go: github.com/mitchellh/gox upgrade => v1.0.1
go: github.com/hashicorp/go-version upgrade => v1.2.1
GO111MODULE=on CGO_ENABLED=0 /home/lizj/gosrc/bin/gox -parallel=3 -output="_dist/{{.OS}}-{{.Arch}}/helm" -osarch='darwin/amd64 linux/amd64 linux/386 linux/arm linux/arm64 linux/ppc64le linux/s390x windows/amd64' -tags '' -ldflags '-w -s -X helm.sh/helm/v3/internal/version.metadata=unreleased -X helm.sh/helm/v3/internal/version.gitCommit=59c77716ad61331da28c37e9430d5f6a3ab23fed -X helm.sh/helm/v3/internal/version.gitTreeState=dirty -extldflags "-static"' ./cmd/helm
bash: /home/lizj/gosrc/bin/gox: No such file or directory
Makefile:146: recipe for target 'build-cross' failed
make: *** [build-cross] Error 127
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
5 years ago
Li Zhijian
59c77716ad
TestCheckPerms: utilize pipe to read stderr
...
Refer to the stderr manpage:
$ man 3 stderr
*Note that mixing use of FILEs and raw file descriptors can produce unexpected results and should generally be avoided.*
And actually, we noticed that the warning() will output the message to
stdout instead of stderr sometimes.
lizj@FNSTPC:~/workspace/k8s/helm$ while true; do timeout 1m go test -count=1 -run TestCheckPerms ./cmd/helm -v 2>/dev/null; done
=== RUN TestCheckPerms
--- PASS: TestCheckPerms (0.00s)
PASS
ok helm.sh/helm/v3/cmd/helm 0.028s
=== RUN TestCheckPerms
--- PASS: TestCheckPerms (0.00s)
PASS
ok helm.sh/helm/v3/cmd/helm 0.027s
=== RUN TestCheckPerms
--- PASS: TestCheckPerms (0.00s)
PASS
ok helm.sh/helm/v3/cmd/helm 0.028s
=== RUN TestCheckPerms
--- PASS: TestCheckPerms (0.00s)
PASS
ok helm.sh/helm/v3/cmd/helm 0.029s
=== RUN TestCheckPerms
--- PASS: TestCheckPerms (0.00s)
PASS
ok helm.sh/helm/v3/cmd/helm 0.029s
=== RUN TestCheckPerms
--- PASS: TestCheckPerms (0.00s)
PASS
ok helm.sh/helm/v3/cmd/helm 0.028s
=== RUN TestCheckPerms
--- PASS: TestCheckPerms (0.00s)
PASS
ok helm.sh/helm/v3/cmd/helm 0.030s
=== RUN TestCheckPerms
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /tmp/helmtest093620773/testconfig
=== RUN TestCheckPerms
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /tmp/helmtest083469215/testconfig
=== RUN TestCheckPerms
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /tmp/helmtest101343249/testconfig
=== RUN TestCheckPerms
--- PASS: TestCheckPerms (0.00s)
PASS
ok helm.sh/helm/v3/cmd/helm 0.032s
=== RUN TestCheckPerms
--- PASS: TestCheckPerms (0.00s)
PASS
ok helm.sh/helm/v3/cmd/helm 0.040s
=== RUN TestCheckPerms
--- PASS: TestCheckPerms (0.00s)
PASS
ok helm.sh/helm/v3/cmd/helm 0.031s
=== RUN TestCheckPerms
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /tmp/helmtest706352639/testconfig
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
5 years ago
Matt Farina
e17500018e
Merge pull request #8824 from helm/dependabot/go_modules/github.com/sirupsen/logrus-1.7.0
...
Bump github.com/sirupsen/logrus from 1.6.0 to 1.7.0
5 years ago
Matt Farina
bea377bbd0
Merge pull request #8825 from helm/dependabot/go_modules/github.com/DATA-DOG/go-sqlmock-1.5.0
...
Bump github.com/DATA-DOG/go-sqlmock from 1.4.1 to 1.5.0
5 years ago
dependabot[bot]
b08c7d2429
Bump github.com/DATA-DOG/go-sqlmock from 1.4.1 to 1.5.0
...
Bumps [github.com/DATA-DOG/go-sqlmock](https://github.com/DATA-DOG/go-sqlmock ) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/DATA-DOG/go-sqlmock/releases )
- [Commits](https://github.com/DATA-DOG/go-sqlmock/compare/v1.4.1...v1.5.0 )
Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
dependabot[bot]
2bc79d3294
Bump github.com/sirupsen/logrus from 1.6.0 to 1.7.0
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.6.0...v1.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
Mikuláš Dítě
6aa54eacc5
feat(install): add requested version to error
...
Signed-off-by: Mikuláš Dítě <dite@mangoweb.cz>
5 years ago
Adam Reese
eefd939c6c
Merge pull request #8067 from adamreese/ref/klog-flags
...
ref(cmd): prevent klogs flags from polluting the help text
5 years ago
Matt Farina
c215782436
Merge pull request #8817 from helm/dependabot/go_modules/github.com/lib/pq-1.8.0
...
Bump github.com/lib/pq from 1.7.0 to 1.8.0
5 years ago
Matt Farina
e17f7026bd
Merge pull request #8818 from helm/dependabot/go_modules/github.com/gofrs/flock-0.8.0
...
Bump github.com/gofrs/flock from 0.7.1 to 0.8.0
5 years ago
dependabot[bot]
253a9500d7
Bump github.com/gofrs/flock from 0.7.1 to 0.8.0
...
Bumps [github.com/gofrs/flock](https://github.com/gofrs/flock ) from 0.7.1 to 0.8.0.
- [Release notes](https://github.com/gofrs/flock/releases )
- [Commits](https://github.com/gofrs/flock/compare/v0.7.1...v0.8.0 )
Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
dependabot[bot]
a6e76cbbbe
Bump github.com/lib/pq from 1.7.0 to 1.8.0
...
Bumps [github.com/lib/pq](https://github.com/lib/pq ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/lib/pq/releases )
- [Commits](https://github.com/lib/pq/compare/v1.7.0...v1.8.0 )
Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
Matt Farina
593fec6868
Merge pull request #8807 from mattfarina/feat-8806
...
Adding support for k8s 1.19
5 years ago
Martin Hickey
4e0bd3483b
Merge pull request #8811 from Hellcatlk/golint
...
Fix wrong function's name in comment
5 years ago