Unverified Commit f8b496fd authored by Martin Hickey's avatar Martin Hickey Committed by GitHub

Merge pull request #5772 from dev-chulbuji/master

change deployment version
parents 90f50a11 3708fad5
......@@ -125,7 +125,7 @@ func Deployment(opts *Options) (*v1beta1.Deployment, error) {
}
dep.TypeMeta = metav1.TypeMeta{
Kind: "Deployment",
APIVersion: "extensions/v1beta1",
APIVersion: "apps/v1",
}
return dep, nil
}
......
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
# This uses a "fullname" template (see _helpers)
......
......@@ -280,7 +280,7 @@ helm init --override metadata.annotations."deployment\.kubernetes\.io/revision"=
Output:
```
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
......@@ -337,7 +337,7 @@ The Tiller installation is skipped and the manifest is output to stdout
in JSON format.
```
"apiVersion": "extensions/v1beta1",
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"creationTimestamp": null,
......
......@@ -700,7 +700,7 @@ spec:
tier: backend
role: master
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: redis-master
......@@ -740,7 +740,7 @@ spec:
tier: backend
role: slave
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: redis-slave
......@@ -780,7 +780,7 @@ spec:
app: guestbook
tier: frontend
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment