-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
area/featureNew capabilitiesNew capabilitiessize/needs-sizingHas not been estimated or sized yetHas not been estimated or sized yettriage/acceptedAccepted issuesAccepted issues
Milestone
Description
What?
- Clean up the operator logo SVG (optimize structure, remove unnecessary metadata/defs, consistent viewBox, valid markup).
- Embed it in the ClusterServiceVersion (CSV) as SVG:
spec.icon[0].mediatype: image/svg+xmlandbase64datacontaining the base64-encoded SVG (replacing the current PNG payload in e.g.bundle/base/csv-template.yamland any generated bundle manifests that copy from it).
Why?
OLM / Operator Hub targets support SVG icons. We currently ship a PNG (mediatype: image/png) in the CSV. SVG scales cleanly in UIs, is usually smaller than raster at equivalent visual quality, and matches platform expectations when SVG is allowed.
How?
(Optional ideas.)
- Keep a source
.svgin-repo (e.g. underbundle/orconfig/), run an optimizer (e.g.svgo) in CI or document a one-off step, then base64-encode for the CSV. - Regenerate bundle/CSV from the template so
bundle/manifests/*.clusterserviceversion.yamlstays consistent. - Verify the icon renders in the target (OpenShift OperatorHub / console) after the change.
Additional Context
- Current CSV icon is PNG in
bundle/base/csv-template.yaml(spec.iconwithimage/png). - Related:
bundle/manifests/coraza-kubernetes-operator.clusterserviceversion.yamlif it duplicates the icon block.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/featureNew capabilitiesNew capabilitiessize/needs-sizingHas not been estimated or sized yetHas not been estimated or sized yettriage/acceptedAccepted issuesAccepted issues
Type
Projects
Status
Next