Include ArtemisCloud icon in the ClusterServiceVersion #1052
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is in reference to the issue raised here - https://github.com/artemiscloud/activemq-artemis-operator/issues/1049
This change is cosmetic in nature and does not affect Operator functionality.
Currently no icon is included in the ClusterServiceVersion definition. As a result, if the Operator is deployed in OpenShift OLM the "broken link" icon is displayed in the OpenShift web console under
OperatorHub
andInstalled Operators
.This change solves the issue. As a result, OLM will display the ArtemisCloud icon.
The ArtemisCloud GitHub avatar icon (200x200px PNG image) was used for this change.
I have tested this change manually on OpenShift v4.14.33
Notes:
.spec.icon
entries are defined manually - see https://docs.openshift.com/container-platform/4.17/operators/operator_sdk/osdk-generating-csvs.html#osdk-manually-defined-csv-fields_osdk-generating-csvsbundle/manifests/activemq-artemis-operator.clusterserviceversion.yaml
is probably generated automatically fromconfig/manifests/bases/activemq-artemis-operator.clusterserviceversion.yaml
. However, I am not sure how often this file is actually generated. Therefore I have introduced the change in both files.