pkg/generator: update csv template's apiVersion and kind
The latest OLM has csv kind as `ClusterServiceVersion` under the group
`operators.coreos.com`.
@@ -42,8 +42,8 @@ spec:
version: {{.Version}}
`
-const catalogCSVTmpl = `apiVersion: app.coreos.com/v1alpha1
-kind: ClusterServiceVersion-v1
+const catalogCSVTmpl = `apiVersion: operators.coreos.com/v1alpha1
+kind: ClusterServiceVersion
metadata:
name: {{.CSVName}}
namespace: placeholder
