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/3803/merge
adshmh 6 years ago committed by Matthew Fisher
parent 597c4fb421
commit 2ef61fdf5c

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

Loading…
Cancel
Save