Skip to content

Commit

Permalink
Add steps to enable image registry default route
Browse files Browse the repository at this point in the history
  • Loading branch information
kevchu3 committed Mar 30, 2020
1 parent 331d9b7 commit b055956
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions operator/image-registry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,14 @@ oc apply -f registry-volume.pv.yml

Then, follow the remaining steps from the documentation to [configure NFS storage].

### 3. Optional: Configure default route

The following steps to [enable the image registry default route] were taken from the documentation. In OpenShift Container Platform, the **Registry** Operator controls the registry feature. The Operator is defined by the `configs.imageregistry.operator.openshift.io` Custom Resource Definition (CRD).

Patch the Image Registry Operator CRD:
```
oc patch configs.imageregistry.operator.openshift.io/cluster --type merge -p '{"spec":{"defaultRoute":true}}'
```

[configure NFS storage]: https://docs.openshift.com/container-platform/4.3/registry/configuring-registry-storage/configuring-registry-storage-baremetal.html#registry-configuring-storage-baremetal_configuring-registry-storage-baremetal
[enable the image registry default route]: https://docs.openshift.com/container-platform/4.3/registry/configuring-registry-operator.html#registry-operator-default-crd_configuring-registry-operator

0 comments on commit b055956

Please sign in to comment.