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 <adeshmeh@ca.ibm.com>
pull/4207/head
adshmh 7 years ago committed by Sebastien Plisson
parent 1e227e0ed4
commit 5e005fc53b

@ -163,7 +163,7 @@ spec:
{{- end }} {{- end }}
` `
const defaultDeployment = `apiVersion: apps/v1beta2 const defaultDeployment = `apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: {{ include "<CHARTNAME>.fullname" . }} name: {{ include "<CHARTNAME>.fullname" . }}

Loading…
Cancel
Save