Simon Alling
e868cb23c0
ref(pkg/storage): Refactor Deployed and DeployedAll ( #7374 )
...
The error returned from DeployedAll will never contain "not found".
The error returned at the end of Deployed is already known to be nil,
and we never want to return ls[0] together with a non-nil error anyway.
Signed-off-by: Simon Alling <alling.simon@gmail.com>
5 years ago
Matthew Fisher
e84b61b2db
Merge pull request #6752 from raffaelespazzoli/lookup
...
Lookup template function
5 years ago
Marc Khouzam
2dcfbea685
Merge pull request #7391 from VilledeMontreal/fix/resetEnv
...
fix(test): Make resetEnv() properly reset settings
5 years ago
Matt Farina
77e145c13e
Merge pull request #7395 from fenggw-fnst/work2
...
Fix typo in comment for func IsReachable
5 years ago
Marc Khouzam
72edf56150
Merge pull request #7383 from VilledeMontreal/feat/rmDeadCode
...
feat(chore): Remove unused code
5 years ago
Guangwen Feng
0cdbbf287f
Fix typo in comment for func IsReachable
...
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
5 years ago
Marc Khouzam
16f6205004
fix(test): Make resetEnv() properly reset settings
...
Because the 'settings' variable is a pointer, it cannot be used to store
the original envSettings and then restore them.
Instead, this commit creates an entirely new envSettings, after having
set the environment variables, which may affect it.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Marc Khouzam
d3a8cc4713
feat(chore): Remove unused code
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
海的澜色
985827d09a
stop with an error immediately if a file or directory with that name already exists ( #7187 )
...
* fix #7182
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* fix testcase
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* update error message
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* complete testCase when file/dir existed.
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* fix the case with current directory
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* fix conflict subdirectory when untardir is the clashing directory
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* update comment
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* add case when destination exists.
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
5 years ago
Taylor Thomas
f35719a62a
Merge pull request #7320 from PhilGrayson/issue-7279
...
Do not delete templated CRDs
5 years ago
Naseem
a963736f66
[helm create] Include serviceAccount.annotations value ( #7246 )
...
* Include serviceAccount.annotations value
Signed-off-by: Naseem <naseemkullah@gmail.com>
* Add comment about service account annotations
Signed-off-by: Naseem <naseemkullah@gmail.com>
5 years ago
Marc Khouzam
edaac9649e
Merge pull request #7298 from VilledeMontreal/fix/relativePathAcceptance
...
fix(tests): Use relative path to acceptance tests
5 years ago
Matthew Fisher
7d72c43a66
Merge pull request #7352 from bacongobbler/fix-use-sigs-k8s-yaml
...
fix(tests): use sigs.k8s.io/yaml
5 years ago
Matthew Fisher
826ad655f2
Merge pull request #7354 from bacongobbler/go-mod-tidy
...
chore(go.sum): run `go mod tidy`
5 years ago
Matthew Fisher
7432fdc9ef
Merge pull request #7355 from dastrobu/#7159-cannot-install-service-account-token-due-to-install-order
...
fix(helm): move ServiceAccount before Secret in InstallOrder.
5 years ago
Matthew Fisher
9e4d42e18c
Merge pull request #7245 from waveywaves/fix/crd-install-api-extensions
...
fix(kube/client) crd install with apiextensions.k8s.io/v1
5 years ago
Matthew Fisher
d2b89119a0
Merge pull request #6904 from bakito/master
...
print gvk information on existing resource conflict
5 years ago
Daniel Strobusch
08663e6bb3
fix(helm): move ServiceAccount before Secret in InstallOrder.
...
Service accounts must be installed before secrets when service account tokens (secrets) are be managed by Helm. Otherwise Kubernetes will delete any service account token right after creation, since there is no service account mounting the token (see https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/#token-controller )
Closes #7159 .
Signed-off-by: Daniel Strobusch <1847260+dastrobu@users.noreply.github.com>
5 years ago
Matthew Fisher
1230df8822
chore(go.sum): run `go mod tidy`
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
bakito
ab905010fd
fix error output
...
Signed-off-by: Marc Brugger <github@bakito.ch>
5 years ago
Matthew Fisher
ff0257de29
fix(tests): use sigs.k8s.io/yaml
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
8207d64b1a
Merge pull request #6988 from Dean-Coakley/add-390x-support
...
Add s390x build target
5 years ago
Matthew Fisher
840bbc951e
Merge pull request #6842 from AndiDog/object-order
...
fix(template): process manifests in file path order, then in order found in each file (before sorting manifests)
5 years ago
Hu Shuai
de9118b879
Fix a typo "update" -> "updates" ( #7346 )
...
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
5 years ago
Jorge I. Gasca
ad07bb690d
fix(cmd): Fixes logging on action conf init error ( #6909 )
...
* fix(cmd): Fixes logging on action conf init error
Errors relating to initializing the action config cause helm to exit silently,
except when in debug mode. This now emits the useful error.
Closes #6863
Signed-off-by: Jorge Gasca <jorge.ignacio.gasca@gmail.com>
* Remove unnecessary formatting of err struct
Signed-off-by: Jorge Gasca <jorge.ignacio.gasca@gmail.com>
5 years ago
Nguyen Hai Truong
29cc5efc18
Remove duplicated words ( #7336 )
...
Although it is spelling mistakes, it might make an affects while reading.
Signed-off-by: Nguyen Hai Truong <truongnh@fujitsu.com>
5 years ago
Xiang Dai
40df2f2a63
Improve description for `--all` flag ( #7144 )
...
* Improve description for `--all` flag
Signed-off-by: Xiang Dai <764524258@qq.com>
* feedback
Signed-off-by: Xiang Dai <764524258@qq.com>
5 years ago
Matthew Fisher
8dddb18de7
Merge pull request #7327 from jugatsu/jugatsu-fix-typo-values
...
Fix typo in --values cmd flag
5 years ago
Anton Kvashenkin
a58430a944
Fix typo in --values cmd flag
...
Fix a small typo in `--values` flag in `helm install/upgrade --help` output.
Signed-off-by: Anton Kvashenkin <anton.jugatsu@gmail.com>
5 years ago
Phil Grayson
600970459e
Do not delete templated CRDs
...
Fixes issue #7279 .
Prevent the deletion of CRDs that were defined in the `templates/`
directory. This makes CRD deletion behaviour consistent with Helm
documentation:
> CRDs are never deleted. Deleting a CRD automatically deletes all of the
> CRD’s contents across all namespaces in the cluster. Consequently, Helm
> will not delete CRDs.
Previous the documentation only applied to CRDs that were defined in the
`crds/` directory. It did not consider that Charts could have CRDs in the
`templates/` directory (for example charts that were written before the
`crds/` directory feature or if the Chart author needed templated CRDs).
Signed-off-by: Phil Grayson <phil@philgrayson.com>
5 years ago
Marc Khouzam
6c604a400e
Merge pull request #7307 from finkr/fix-completion7304
...
fix(comp): tail cannot open +2 for reading
5 years ago
Matthew Fisher
38670ebe3d
Merge pull request #7316 from hs0210/work
...
Fix a typo "the the" -> "the"
5 years ago
Hu Shuai
3eb8df0c5e
Fix a typo "the the" -> "the"
...
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
5 years ago
Frank Lin PIAT
2eab781b35
fix(comp): tail cannot open +2 for reading
...
Signed-off-by: Frank Lin PIAT <fpiat@klabs.be>
5 years ago
Marc Khouzam
b47a5b746d
fix(tests): Use relative path to acceptance tests
...
With Helm using go modules, its git repo need not reside under
$GOPATH/src/helm.sh anymore. In fact it may be desirable for a user to
move it to another location (e.g., to get the debugger to work).
In the same train of thought, the acceptance-testing repo, which is not
even a go program, need not be in the GOPATH.
This commit reduces the requirement on the location of the
acceptance-testing repo to a relative path to the helm repo, instead
of an absolute path within GOPATH.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Taylor Thomas
1ff8272748
Merge pull request #7290 from fenggw-fnst/work
...
Add corresponding unit test to the function in resource.go.
5 years ago
Guangwen Feng
cedd480199
Add corresponding unit test to the function in resource.go.
...
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
5 years ago
Matthew Fisher
07a3d7299c
Merge pull request #7286 from phumberdroz/master
...
Point users to helm hub instead of the helm chart repo
5 years ago
Pierre Humberdroz
36c06141f8
docs: point users to helm hub
...
Signed-off-by: Pierre Humberdroz <pierre.humberdroz@prezero.com>
5 years ago
Taylor Thomas
12e0ab7e44
Merge pull request #7284 from heyleke/feat/hg-orig
...
fix(helm): add .orig as typical backup file in .helmignore
5 years ago
Taylor Thomas
df13e24513
Merge pull request #7269 from adriangonz/fix-crd-update
...
Add back fix for CRD patch creation
5 years ago
Jan Heylen
a2bbb67839
fix(helm): add .orig as typical backup file
...
Mercurial VCS (hg) backout's can generate '.orig' files
to avoid these being picked, generate a .helmignore where
also the .orig files are ignored.
Signed-off-by: Jan Heylen <jan.heylen@nokia.com>
5 years ago
Matthew Fisher
d876daa362
Merge pull request #7272 from Hiruma31/bugfix/7220
...
Port PR #4161 to Helmv3 - Fix incorrect timestamp when helm package
5 years ago
Romain Grenet
8cb3c02c47
Port PR #4161 Fix incorrect timestamp when helm package to Helmv3
...
Lint CRLF
Signed-off-by: Romain Grenet <romain.grenet@gmail.com>
5 years ago
Adrian Gonzalez-Martin
afa612df9d
Add back fix for CRD patch creation
...
Signed-off-by: Adrian Gonzalez-Martin <agm@seldon.io>
5 years ago
Dean Coakley
f3249b5ee2
Add new Makefile targets
...
Signed-off-by: Dean Coakley <dean.s.coakley@gmail.com>
5 years ago
Josh Soref
02ad2b1187
Spelling ( #7258 )
...
* spelling: constraint
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: cryptographic
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: dependency
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: doesnot
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: don't
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unexpected
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: dreadnought
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: default
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: envvars
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: evaluates
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: execute
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: extractor
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: frobnitz
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: generated
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: implementation
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: jabba
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: keywords
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: kubernetes
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: override
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: package
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: parsable
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: progress
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: recursively
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: release
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: cache
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: representing
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: serializer
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: subchart
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: utilities
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
5 years ago
Dean Coakley
e4c0eb8720
Merge branch 'master' into add-390x-support
5 years ago
Matt Butcher
bd8dbcac8b
add technosophos public key ( #7256 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Martin Hickey
b6e2a14306
fix(kube): Port use of watcher with retries to wait for resources ( #7217 )
...
* Port watcher with retries to wait for resources
Port of Helm 2 PR #6014 to Helm 3
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
* Add fix from PR #6907
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 years ago