From 5e005fc53b65bfc56d24e57c074b94c79a560a99 Mon Sep 17 00:00:00 2001 From: adshmh <23505281+adshmh@users.noreply.github.com> Date: Mon, 1 Oct 2018 15:27:17 -0400 Subject: [PATCH] feat(helm): use apps/v1 as deployment apiVersion (#4725) Use 'apps/v1' as the apiVersion field for the deployment.yaml written by the 'helm create' command, rather than the deprecated 'apps/v1beta2'. Signed-off-by: Arash Deshmeh --- pkg/chartutil/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/chartutil/create.go b/pkg/chartutil/create.go index 61dce9fa4..beadf71cf 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -163,7 +163,7 @@ spec: {{- end }} ` -const defaultDeployment = `apiVersion: apps/v1beta2 +const defaultDeployment = `apiVersion: apps/v1 kind: Deployment metadata: name: {{ include ".fullname" . }}