Skip to content

Commit

Permalink
Use apps/v1 API for Deployment resources (argoproj#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
jannfis authored and alexec committed Sep 27, 2019
1 parent b4ebe00 commit 5c2d89b
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion guestbook/guestbook-ui-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
name: guestbook-ui
Expand Down
2 changes: 1 addition & 1 deletion helm-guestbook/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "helm-guestbook.fullname" . }}
Expand Down
4 changes: 2 additions & 2 deletions jsonnet-guestbook-tla/guestbook-ui.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function (
}
},
{
"apiVersion": "apps/v1beta2",
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": name
Expand Down Expand Up @@ -62,4 +62,4 @@ function (
}
}
}
]
]
2 changes: 1 addition & 1 deletion jsonnet-guestbook/guestbook-ui.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ local params = import 'params.libsonnet';
}
},
{
"apiVersion": "apps/v1beta2",
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": params.name
Expand Down
2 changes: 1 addition & 1 deletion ksonnet-guestbook/components/guestbook-ui.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion kustomize-guestbook/guestbook-ui-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
name: guestbook-ui
Expand Down
2 changes: 1 addition & 1 deletion plugins/kustomized-helm/overlays/guestbook-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
name: release-name-helm-guestbook
Expand Down

0 comments on commit 5c2d89b

Please sign in to comment.