Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-3790

Quay 3.7.0 doc should guide how to configure QuayRegistry CR when using proxy env variable

XMLWordPrintable

      Description:

      This is a Doc issue for Quay 3.7.0, now Quay 3.7.0 start to support config proxy env variable for quay/mirror/clair components, but in the QuayRegistry CR file, it required to add "svc.cluster.local,localhost,[quay_route_name]" to NO_PROXY list, without this config, can't use config editor to make changes to quay. refer to Quay issue: https://issues.redhat.com/browse/PROJQUAY-3599 

      QuayRegistry CR Example:

      Note:

      • "quay370.apps.quayperf370.perfscale.devcluster.openshift.com" is quay route name
      • "quayproxy.qe.devcluster.openshift.com:3128" is the proxy server
      kind: QuayRegistry
      metadata:
        name: quay37
      spec:
        configBundleSecret: config-bundle-secret
        components:
          - kind: objectstorage
            managed: false
          - kind: route
            managed: true
          - kind: mirror
            managed: true
            overrides:
              env:
                - name: DEBUGLOG
                  value: "true"
                - name: HTTP_PROXY
                  value: quayproxy.qe.devcluster.openshift.com:3128
                - name: HTTPS_PROXY
                  value: quayproxy.qe.devcluster.openshift.com:3128
                - name: NO_PROXY
                  value: svc.cluster.local,localhost,quay370.apps.quayperf370.perfscale.devcluster.openshift.com
          - kind: tls
            managed: false
          - kind: clair
            managed: true
            overrides:
              env:
                - name: HTTP_PROXY
                  value: quayproxy.qe.devcluster.openshift.com:3128
                - name: HTTPS_PROXY
                  value: quayproxy.qe.devcluster.openshift.com:3128
                - name: NO_PROXY
                  value: svc.cluster.local,localhost,quay370.apps.quayperf370.perfscale.devcluster.openshift.com
          - kind: quay
            managed: true
            overrides:
              env:
                - name: DEBUGLOG
                  value: "true"
                - name: NO_PROXY
                  value: svc.cluster.local,localhost,quay370.apps.quayperf370.perfscale.devcluster.openshift.com
                - name: HTTP_PROXY
                  value: quayproxy.qe.devcluster.openshift.com:3128
                - name: HTTPS_PROXY
                  value: quayproxy.qe.devcluster.openshift.com:3128  

              rhn-support-stevsmit Steven Smith
              lzha1981 luffy zhang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: