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

2
helm-guestbook/templates/deployment.yaml

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

4
jsonnet-guestbook-tla/guestbook-ui.jsonnet

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

2
jsonnet-guestbook/guestbook-ui.jsonnet

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

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", "kind": "Deployment",
"metadata": { "metadata": {
"name": params.name "name": params.name

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

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

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

@ -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…
Cancel
Save