Use apps/v1 API for Deployment resources (#38)

This commit is contained in:
jannfis 2019-09-27 19:58:45 +02:00 committed by Alex Collins
parent b4ebe0049d
commit 5c2d89b897
7 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
name: guestbook-ui

View File

@ -1,4 +1,4 @@
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "helm-guestbook.fullname" . }}

View File

@ -27,7 +27,7 @@ function (
}
},
{
"apiVersion": "apps/v1beta2",
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": name

View File

@ -21,7 +21,7 @@ local params = import 'params.libsonnet';
}
},
{
"apiVersion": "apps/v1beta2",
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": params.name

View File

@ -21,7 +21,7 @@ local params = std.extVar("__ksonnet/params").components["guestbook-ui"];
}
},
{
"apiVersion": "apps/v1beta2",
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": params.name

View File

@ -1,4 +1,4 @@
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
name: guestbook-ui

View File

@ -1,4 +1,4 @@
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
name: release-name-helm-guestbook