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 <adeshmeh@ca.ibm.com>
pull/4725/head
Arash Deshmeh 7 years ago
parent 597c4fb421
commit ad2d5104c0

@ -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