Use apps/v1 API for Deployment resources (#38)
parent
b4ebe0049d
commit
5c2d89b897
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: apps/v1beta2
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: guestbook-ui
|
name: guestbook-ui
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: apps/v1beta2
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "helm-guestbook.fullname" . }}
|
name: {{ template "helm-guestbook.fullname" . }}
|
||||||
|
|
|
@ -27,7 +27,7 @@ function (
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"apiVersion": "apps/v1beta2",
|
"apiVersion": "apps/v1",
|
||||||
"kind": "Deployment",
|
"kind": "Deployment",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"name": name
|
"name": name
|
||||||
|
|
|
@ -21,7 +21,7 @@ local params = import 'params.libsonnet';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"apiVersion": "apps/v1beta2",
|
"apiVersion": "apps/v1",
|
||||||
"kind": "Deployment",
|
"kind": "Deployment",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"name": params.name
|
"name": params.name
|
||||||
|
|
|
@ -21,7 +21,7 @@ local params = std.extVar("__ksonnet/params").components["guestbook-ui"];
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"apiVersion": "apps/v1beta2",
|
"apiVersion": "apps/v1",
|
||||||
"kind": "Deployment",
|
"kind": "Deployment",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"name": params.name
|
"name": params.name
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: apps/v1beta2
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: guestbook-ui
|
name: guestbook-ui
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: apps/v1beta2
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: release-name-helm-guestbook
|
name: release-name-helm-guestbook
|
||||||
|
|
Loading…
Reference in New Issue