Skip to content

Commit

Permalink
feat(helm): use apps/v1 as deployment apiVersion (#4725)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
adshmh authored and Matthew Fisher committed Oct 1, 2018
1 parent 597c4fb commit 2ef61fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/chartutil/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ spec:
{{- end }}
`

const defaultDeployment = `apiVersion: apps/v1beta2
const defaultDeployment = `apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "<CHARTNAME>.fullname" . }}
Expand Down

0 comments on commit 2ef61fd

Please sign in to comment.