Browse Source

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

pull/44/head
jannfis 5 years ago
committed by Alex Collins
parent
commit
5c2d89b897
  1. 2
      guestbook/guestbook-ui-deployment.yaml
  2. 2
      helm-guestbook/templates/deployment.yaml
  3. 2
      jsonnet-guestbook-tla/guestbook-ui.jsonnet
  4. 2
      jsonnet-guestbook/guestbook-ui.jsonnet
  5. 2
      ksonnet-guestbook/components/guestbook-ui.jsonnet
  6. 2
      kustomize-guestbook/guestbook-ui-deployment.yaml
  7. 2
      plugins/kustomized-helm/overlays/guestbook-deployment.yaml

2
guestbook/guestbook-ui-deployment.yaml

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

2
helm-guestbook/templates/deployment.yaml

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

2
jsonnet-guestbook-tla/guestbook-ui.jsonnet

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

2
jsonnet-guestbook/guestbook-ui.jsonnet

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

2
ksonnet-guestbook/components/guestbook-ui.jsonnet

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

2
kustomize-guestbook/guestbook-ui-deployment.yaml

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

2
plugins/kustomized-helm/overlays/guestbook-deployment.yaml

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

Loading…
Cancel
Save