Skip to content

Commit 898e23c

Browse files
Brian-Williamshasbro17
authored andcommitted
pkg/scaffold: fix hardcoded crd version (#690)
Have CRD and CR examples match, so examples work for new users. Fixes #689
1 parent 2ff5d92 commit 898e23c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/scaffold/crd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ spec:
5555
plural: {{ .Resource.Resource }}
5656
singular: {{ .Resource.LowerKind }}
5757
scope: Namespaced
58-
version: v1alpha1
58+
version: {{ .Resource.Version }}
5959
`

0 commit comments

Comments
 (0)