You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do?
Following the Core Tasks in the documentation, I have a semver template with multiple bundle versions. Rendering it gives me: render: unable to post-process bundle info: duplicate bundle name "cis-operator"
What did you expect to see?
A clear and concise description of what you expected to happen (or insert a code snippet).
Using the following template, catalog_render_template.yaml:
Jeansen
changed the title
Cannot render multiple bundles with same name in semver tempalate
Cannot render multiple bundles with same name in semver template
Feb 12, 2024
Bug Report
What did you do?
Following the Core Tasks in the documentation, I have a semver template with multiple bundle versions. Rendering it gives me:
render: unable to post-process bundle info: duplicate bundle name "cis-operator"
What did you expect to see?
A clear and concise description of what you expected to happen (or insert a code snippet).
Using the following template, catalog_render_template.yaml:
And running the following command:
opm alpha render-template semver -o yaml < catalog_render_template.yaml > /tmp/catalog.yaml
I'd expect the command to create a catalog.yaml file with all relevant configuration data.
What did you see instead? Under which circumstances?
A clear and concise description of what you expected to happen (or insert a code snippet).
Instead, I get:
2024/02/12 17:18:05 semver "stdin": render: unable to post-process bundle info: duplicate bundle name "cis-operator"
and the catalog.yaml is empty!
Environment
0.26.0
1.29.0
Bare metal, kubeadm.
Possible Solution
Additional context
Add any other context about the problem here.
If one removes the second Entry from the template, e.g.
Then, the render command succeeds and the catalog is filled with:
The text was updated successfully, but these errors were encountered: