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
3d487547
Commit
3d487547
authored
May 21, 2019
by
dev-chulbuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change deployment version
Signed-off-by:
dev-chulbuji
<
dev.chulbuji@gmail.com
>
parent
9fb19967
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
install.go
cmd/helm/installer/install.go
+1
-1
deployment.yaml
docs/examples/nginx/templates/deployment.yaml
+1
-1
install.md
docs/install.md
+2
-2
client_test.go
pkg/kube/client_test.go
+4
-4
No files found.
cmd/helm/installer/install.go
View file @
3d487547
...
@@ -125,7 +125,7 @@ func Deployment(opts *Options) (*v1beta1.Deployment, error) {
...
@@ -125,7 +125,7 @@ func Deployment(opts *Options) (*v1beta1.Deployment, error) {
}
}
dep
.
TypeMeta
=
metav1
.
TypeMeta
{
dep
.
TypeMeta
=
metav1
.
TypeMeta
{
Kind
:
"Deployment"
,
Kind
:
"Deployment"
,
APIVersion
:
"
extensions/v1beta
1"
,
APIVersion
:
"
apps/v
1"
,
}
}
return
dep
,
nil
return
dep
,
nil
}
}
...
...
docs/examples/nginx/templates/deployment.yaml
View file @
3d487547
apiVersion
:
extensions/v1beta
1
apiVersion
:
apps/v
1
kind
:
Deployment
kind
:
Deployment
metadata
:
metadata
:
# This uses a "fullname" template (see _helpers)
# This uses a "fullname" template (see _helpers)
...
...
docs/install.md
View file @
3d487547
...
@@ -280,7 +280,7 @@ helm init --override metadata.annotations."deployment\.kubernetes\.io/revision"=
...
@@ -280,7 +280,7 @@ helm init --override metadata.annotations."deployment\.kubernetes\.io/revision"=
Output:
Output:
```
```
apiVersion:
extensions/v1beta
1
apiVersion:
apps/v
1
kind: Deployment
kind: Deployment
metadata:
metadata:
annotations:
annotations:
...
@@ -337,7 +337,7 @@ The Tiller installation is skipped and the manifest is output to stdout
...
@@ -337,7 +337,7 @@ The Tiller installation is skipped and the manifest is output to stdout
in JSON format.
in JSON format.
```
```
"apiVersion": "
extensions/v1beta
1",
"apiVersion": "
apps/v
1",
"kind": "Deployment",
"kind": "Deployment",
"metadata": {
"metadata": {
"creationTimestamp": null,
"creationTimestamp": null,
...
...
pkg/kube/client_test.go
View file @
3d487547
...
@@ -27,7 +27,7 @@ import (
...
@@ -27,7 +27,7 @@ import (
"time"
"time"
"k8s.io/api/core/v1"
"k8s.io/api/core/v1"
apiextv1beta1
"k8s.io/apiextensions-apiserver/pkg/apis/api
extensions/v1beta
1"
apiextv1beta1
"k8s.io/apiextensions-apiserver/pkg/apis/api
apps/v
1"
metav1
"k8s.io/apimachinery/pkg/apis/meta/v1"
metav1
"k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/apimachinery/pkg/runtime/schema"
...
@@ -700,7 +700,7 @@ spec:
...
@@ -700,7 +700,7 @@ spec:
tier: backend
tier: backend
role: master
role: master
---
---
apiVersion:
extensions/v1beta
1
apiVersion:
apps/v
1
kind: Deployment
kind: Deployment
metadata:
metadata:
name: redis-master
name: redis-master
...
@@ -740,7 +740,7 @@ spec:
...
@@ -740,7 +740,7 @@ spec:
tier: backend
tier: backend
role: slave
role: slave
---
---
apiVersion:
extensions/v1beta
1
apiVersion:
apps/v
1
kind: Deployment
kind: Deployment
metadata:
metadata:
name: redis-slave
name: redis-slave
...
@@ -780,7 +780,7 @@ spec:
...
@@ -780,7 +780,7 @@ spec:
app: guestbook
app: guestbook
tier: frontend
tier: frontend
---
---
apiVersion:
extensions/v1beta
1
apiVersion:
apps/v
1
kind: Deployment
kind: Deployment
metadata:
metadata:
name: frontend
name: frontend
...
...
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