-
Bug
-
Resolution: Done
-
Normal
-
1.6.1
-
None
-
None
-
8
-
False
-
None
-
False
-
GITOPS Sprint 226, GITOPS Sprint 227, GITOPS Sprint 228
The main.js delivered to the browser for the web UI of Argo CD in OpenShift GitOps is 36MB in size, significantly increasing load times when opening the UI.
In contrast, the version upstream delivers is only 5MB in size.
For example (recent upstream version):
Compared to what is delivered from OpenShift GitOps v1.6.1:
A workaround to this exists by enabling compression in the argocd-server. This can be achieved by setting the environment variable ARGOCD_SERVER_ENABLE_GZIP to the value "true" for the argocd-server workload:
spec:
server:
env:
- name: ARGOCD_SERVER_ENABLE_GZIP
value: "true"
The argocd-server pod(s) will restart, and the main.js download size should be significantly smaller now.