Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
1eff3629
Commit
1eff3629
authored
Oct 13, 2017
by
Matthew Fisher
Committed by
GitHub
Oct 13, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3014 from mattfarina/fix/semver-order
fix(semver): fixed edge cases that do not match prerelease
parents
4f5cbed1
b27b11a2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
fetch.go
cmd/helm/fetch.go
+3
-3
install.go
cmd/helm/install.go
+3
-3
upgrade.go
cmd/helm/upgrade.go
+3
-3
helm_fetch.md
docs/helm/helm_fetch.md
+1
-1
helm_install.md
docs/helm/helm_install.md
+1
-1
helm_upgrade.md
docs/helm/helm_upgrade.md
+1
-1
No files found.
cmd/helm/fetch.go
View file @
1eff3629
...
...
@@ -79,8 +79,8 @@ func newFetchCmd(out io.Writer) *cobra.Command {
}
if
fch
.
version
==
""
&&
fch
.
devel
{
debug
(
"setting version to >0.0.0-
a
"
)
fch
.
version
=
">0.0.0-
a
"
debug
(
"setting version to >0.0.0-
0
"
)
fch
.
version
=
">0.0.0-
0
"
}
for
i
:=
0
;
i
<
len
(
args
);
i
++
{
...
...
@@ -105,7 +105,7 @@ func newFetchCmd(out io.Writer) *cobra.Command {
f
.
StringVar
(
&
fch
.
certFile
,
"cert-file"
,
""
,
"identify HTTPS client using this SSL certificate file"
)
f
.
StringVar
(
&
fch
.
keyFile
,
"key-file"
,
""
,
"identify HTTPS client using this SSL key file"
)
f
.
StringVar
(
&
fch
.
caFile
,
"ca-file"
,
""
,
"verify certificates of HTTPS-enabled servers using this CA bundle"
)
f
.
BoolVar
(
&
fch
.
devel
,
"devel"
,
false
,
"use development versions, too. Equivalent to version '>0.0.0-
a
'. If --version is set, this is ignored."
)
f
.
BoolVar
(
&
fch
.
devel
,
"devel"
,
false
,
"use development versions, too. Equivalent to version '>0.0.0-
0
'. If --version is set, this is ignored."
)
return
cmd
}
...
...
cmd/helm/install.go
View file @
1eff3629
...
...
@@ -160,8 +160,8 @@ func newInstallCmd(c helm.Interface, out io.Writer) *cobra.Command {
debug
(
"Original chart version: %q"
,
inst
.
version
)
if
inst
.
version
==
""
&&
inst
.
devel
{
debug
(
"setting version to >0.0.0-
a
"
)
inst
.
version
=
">0.0.0-
a
"
debug
(
"setting version to >0.0.0-
0
"
)
inst
.
version
=
">0.0.0-
0
"
}
cp
,
err
:=
locateChartPath
(
inst
.
repoURL
,
args
[
0
],
inst
.
version
,
inst
.
verify
,
inst
.
keyring
,
...
...
@@ -193,7 +193,7 @@ func newInstallCmd(c helm.Interface, out io.Writer) *cobra.Command {
f
.
StringVar
(
&
inst
.
certFile
,
"cert-file"
,
""
,
"identify HTTPS client using this SSL certificate file"
)
f
.
StringVar
(
&
inst
.
keyFile
,
"key-file"
,
""
,
"identify HTTPS client using this SSL key file"
)
f
.
StringVar
(
&
inst
.
caFile
,
"ca-file"
,
""
,
"verify certificates of HTTPS-enabled servers using this CA bundle"
)
f
.
BoolVar
(
&
inst
.
devel
,
"devel"
,
false
,
"use development versions, too. Equivalent to version '>0.0.0-
a
'. If --version is set, this is ignored."
)
f
.
BoolVar
(
&
inst
.
devel
,
"devel"
,
false
,
"use development versions, too. Equivalent to version '>0.0.0-
0
'. If --version is set, this is ignored."
)
return
cmd
}
...
...
cmd/helm/upgrade.go
View file @
1eff3629
...
...
@@ -98,8 +98,8 @@ func newUpgradeCmd(client helm.Interface, out io.Writer) *cobra.Command {
}
if
upgrade
.
version
==
""
&&
upgrade
.
devel
{
debug
(
"setting version to >0.0.0-
a
"
)
upgrade
.
version
=
">0.0.0-
a
"
debug
(
"setting version to >0.0.0-
0
"
)
upgrade
.
version
=
">0.0.0-
0
"
}
upgrade
.
release
=
args
[
0
]
...
...
@@ -131,7 +131,7 @@ func newUpgradeCmd(client helm.Interface, out io.Writer) *cobra.Command {
f
.
StringVar
(
&
upgrade
.
certFile
,
"cert-file"
,
""
,
"identify HTTPS client using this SSL certificate file"
)
f
.
StringVar
(
&
upgrade
.
keyFile
,
"key-file"
,
""
,
"identify HTTPS client using this SSL key file"
)
f
.
StringVar
(
&
upgrade
.
caFile
,
"ca-file"
,
""
,
"verify certificates of HTTPS-enabled servers using this CA bundle"
)
f
.
BoolVar
(
&
upgrade
.
devel
,
"devel"
,
false
,
"use development versions, too. Equivalent to version '>0.0.0-
a
'. If --version is set, this is ignored."
)
f
.
BoolVar
(
&
upgrade
.
devel
,
"devel"
,
false
,
"use development versions, too. Equivalent to version '>0.0.0-
0
'. If --version is set, this is ignored."
)
f
.
MarkDeprecated
(
"disable-hooks"
,
"use --no-hooks instead"
)
...
...
docs/helm/helm_fetch.md
View file @
1eff3629
...
...
@@ -30,7 +30,7 @@ helm fetch [flags] [chart URL | repo/chartname] [...]
--ca-file string verify certificates of HTTPS-enabled servers using this CA bundle
--cert-file string identify HTTPS client using this SSL certificate file
-d, --destination string location to write the chart. If this and tardir are specified, tardir is appended to this (default ".")
--devel use development versions, too. Equivalent to version '>0.0.0-
a
'. If --version is set, this is ignored.
--devel use development versions, too. Equivalent to version '>0.0.0-
0
'. If --version is set, this is ignored.
--key-file string identify HTTPS client using this SSL key file
--keyring string keyring containing public keys (default "~/.gnupg/pubring.gpg")
--prov fetch the provenance file, but don't perform verification
...
...
docs/helm/helm_install.md
View file @
1eff3629
...
...
@@ -70,7 +70,7 @@ helm install [CHART]
```
--ca-file string verify certificates of HTTPS-enabled servers using this CA bundle
--cert-file string identify HTTPS client using this SSL certificate file
--devel use development versions, too. Equivalent to version '>0.0.0-
a
'. If --version is set, this is ignored.
--devel use development versions, too. Equivalent to version '>0.0.0-
0
'. If --version is set, this is ignored.
--dry-run simulate an install
--key-file string identify HTTPS client using this SSL key file
--keyring string location of public keys used for verification (default "~/.gnupg/pubring.gpg")
...
...
docs/helm/helm_upgrade.md
View file @
1eff3629
...
...
@@ -38,7 +38,7 @@ helm upgrade [RELEASE] [CHART]
```
--ca-file string verify certificates of HTTPS-enabled servers using this CA bundle
--cert-file string identify HTTPS client using this SSL certificate file
--devel use development versions, too. Equivalent to version '>0.0.0-
a
'. If --version is set, this is ignored.
--devel use development versions, too. Equivalent to version '>0.0.0-
0
'. If --version is set, this is ignored.
--dry-run simulate an upgrade
--force force resource update through delete/recreate if needed
-i, --install if a release by this name doesn't already exist, run an install
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment