I am using version v2.4.3+471685f and I've made changes to the 'argocd-cm' configmap to update the ArgoCD icon by modifying my-styles.css as follows:
.my-styles.css: |
.nav-bar__logo img {
content: url(https://My-logo.png);
}
However, the icon has not changed despite trying all the methods mentioned in the following links:text text text
In Argo CD v2.8.2+dbdfc71, I got it working by changing the following my argocd-styles-cm config map:
I got that exact
img.sidebar__logo__characterfield by using the right click + inspect tool in firefox and testing there.After you update this config map, you may need to reload your argocd server pod, as config maps and secrets are only loaded into the a k8s pod at startup. You may also need to clear your cache and/or open a new tab.
Example of the full config map I'm using:
This assumes you have also set
ui.cssurlin argocd-cm:You also need to be make sure you have mounted that volume in your deployment:
If you use the argocd helm chart, there is a
configs.stylesparameter you can use and then you don't have to do the deployment volume mount.