Skip to content

Commit

Permalink
Fix bug in community CSV
Browse files Browse the repository at this point in the history
The CSV namespace is "placeholder" by default, but must be
"kubevirt-hyperconverged".

This PR fixes this issue.

Signed-off-by: Nahshon Unna-Tsameret <nunnatsa@redhat.com>
  • Loading branch information
nunnatsa authored and tiraboschi committed Jun 27, 2024
1 parent ddb8f10 commit 78dfc77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ metadata:
operatorframework.io/arch.amd64: supported
operatorframework.io/os.linux: supported
name: kubevirt-hyperconverged-operator.v1.13.0
namespace: placeholder
namespace: kubevirt-hyperconverged
spec:
apiservicedefinitions: {}
cleanup:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ metadata:
operatorframework.io/arch.amd64: supported
operatorframework.io/os.linux: supported
name: kubevirt-hyperconverged-operator.v1.13.0
namespace: placeholder
namespace: kubevirt-hyperconverged
spec:
apiservicedefinitions: {}
cleanup:
Expand Down
2 changes: 1 addition & 1 deletion pkg/components/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ func GetCSVBase(params *CSVBaseParams) *csvv1alpha1.ClusterServiceVersion {
},
ObjectMeta: metav1.ObjectMeta{
Name: fmt.Sprintf("%v.v%v", params.Name, params.Version.String()),
Namespace: "placeholder",
Namespace: params.Namespace,
Annotations: map[string]string{
"alm-examples": string(almExamples),
"capabilities": "Deep Insights",
Expand Down

0 comments on commit 78dfc77

Please sign in to comment.