Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 54 additions & 1 deletion modules/operator-deploy-cli.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,60 @@ metadata:
spec:
configBundleSecret: init-config-bundle-secret
----

.. If you have a proxy configured, you can add the information using overrides for Quay, Clair, and mirroring:
+
.quayregistry.yaml:
[source,yaml]
----
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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here "quayproxy.qe.devcluster.openshift.com:3128" is the proxy_server:port that users need to input.

- 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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here "quay370.apps.quayperf370.perfscale.devcluster.openshift.com" is the quay route name

- 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
----

. Create the `QuayRegistry` in specified namespace:
+
```sh
Expand All @@ -61,4 +115,3 @@ $ oc create -n quay-enterprise -f quayregistry.yaml
```sh
$ oc get quayregistry -n quay-enterprise example-registry -o jsonpath="{.status.registryEndpoint}" -w
```