Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-2329

The main.js delivered with OpenShift GitOps (Argo CD web UI) is huge

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 1.7.0
    • 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.

              rescott1 Regina Scott (Inactive)
              jfischer@redhat.com Jann Fischer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: