Closed lachnerd closed 5 months ago
@lachnerd can you pls share the version you are using and the manifests you are applying? we will try to reproduce the issue
Hi, i'm now using stakater/forecastle:v1.0.134 with the helm chart.
I added forecastle config as ingress annotations:
ingress:
enabled: true
hostname: keycloak.domain.tld
ingressClassName: internal-global
annotations:
forecastle.stakater.com/expose: 'true'
forecastle.stakater.com/icon: 'https://github.com/stakater/ForecastleIcons/blob/master/keycloak.png'
forecastle.stakater.com/group: 'Tools'
which leads to :
<button class="MuiButtonBase-root MuiCardActionArea-root" tabindex="0" type="button"><div class="MuiGrid-root jss17"><div class="MuiCardMedia-root jss18" title="keycloak" style="background-image: url("https://github.com/stakater/ForecastleIcons/blob/master/keycloak.png");"></div></div><span class="MuiCardActionArea-focusHighlight"></span><span class="MuiTouchRipple-root"></span></button>
Using CRDs leads to the exact same result
@lachnerd I tested this on my cluster with both ingress annotations as well as ForecastleApp CRD.
It works as expected when you use the right kind of URL for the image.
this works - https://raw.githubusercontent.com/stakater/ForecastleIcons/master/keycloak.png
while this does not - https://github.com/stakater/ForecastleIcons/blob/master/keycloak.png
here's a screenshot to show both of them:
Please verify this at your end and feel free to close the issue if its working.
Closing the issue with the above provided resolution.
Describe the bug
CSS of every app element truns into this:
Theres " added at the beginning and the end of the image url with leads to the icon image beeing not rendered on the page
To Reproduce just add an icon
Expected behavior Icon gets displayed
Screenshots
Environment