Search code examples
cssopenshiftfont-awesomeopenshift-originokd

how to use a FontAwesome icon for openshift template


As mentioned in dev_guide, we can set an icon for an openshift template.

The description for iconClass said:

An icon to be displayed with your template in the web console. Choose from our existing logo icons when possible. You can also use icons from FontAwesome and PatternFly. Alternatively, provide icons through CSS customizations that can be added to an OpenShift Container Platform cluster that uses your template. You must specify an icon class that exists, or it will prevent falling back to the generic icon

when I use default openshift logos like icon-laravel it works but I don't know how to use a FontAwesome logo. i tried using ghost, fa fa-ghost and fas fa-ghost as mentioned here but non of them worked.

how can I use non default logos such as FontAwesome for openshift template ?


P.S: I use openshift origin v3.10 and google-chrome v69.0 if it's important


Solution

  • Font awesome version 4.7 is available in openshift-console 3.10 (and newer), so you would be limited to these (fa fa-snapchat-ghost is the only "ghost" I found there).