From 2ef61fdf5c46fdc47ac264926e70e0590e7b6f94 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 43fb5f7d3..24a9dabcc 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -161,7 +161,7 @@ spec: {{- end }} ` -const defaultDeployment = `apiVersion: apps/v1beta2 +const defaultDeployment = `apiVersion: apps/v1 kind: Deployment metadata: name: {{ include ".fullname" . }}