Skip to content

Commit

Permalink
Generate apps/v1beta2 for K8s 1.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolftimmermans committed Jan 25, 2018
1 parent 1bbb94b commit 6d32d1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/scaffold/scaffold.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ spec:

var bseDeployment = template.Must(template.New("deployment.yaml").Parse(
`# Defines an app consisting of one or more identical pods
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: {{.Name}}
Expand Down Expand Up @@ -380,7 +380,7 @@ spec:

var envDeployment = template.Must(template.New("deployment.yaml").Parse(
`# Defines an app consisting of one or more identical pods
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: {{.Name}}
Expand Down

0 comments on commit 6d32d1d

Please sign in to comment.