From ad2d5104c0b31334e6ad02d3daa1c7388104f3e2 Mon Sep 17 00:00:00 2001 From: Arash Deshmeh Date: Mon, 1 Oct 2018 15:03:00 -0400 Subject: [PATCH] feat(helm): use apps/v1 as deployment apiVersion 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" . }}