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

master
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 kind: Deployment
metadata: metadata:
name: guestbook-ui name: guestbook-ui

View File

@ -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" . }}

View File

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

View File

@ -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

View File

@ -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

View File

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

View File

@ -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