Skip to content

Commit 9398af6

Browse files
darkowlzzhasbro17
authored andcommitted
pkg/generator: update csv template's apiVersion and kind (#499)
The latest OLM has csv kind as `ClusterServiceVersion` under the group `operators.coreos.com`.
1 parent 4b688f0 commit 9398af6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/generator/templates.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ spec:
4242
version: {{.Version}}
4343
`
4444

45-
const catalogCSVTmpl = `apiVersion: app.coreos.com/v1alpha1
46-
kind: ClusterServiceVersion-v1
45+
const catalogCSVTmpl = `apiVersion: operators.coreos.com/v1alpha1
46+
kind: ClusterServiceVersion
4747
metadata:
4848
name: {{.CSVName}}
4949
namespace: placeholder

0 commit comments

Comments
 (0)