-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[BZ1810461] ShiftStack - Add procedure to allow Image Registry Operator to trust Swift #39641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * registry/installing-openstack- .adoc | ||
| // * registry/configuring-registry-operator.adoc | ||
| // * registry/configuring-registry-storage-openstack-user-infrastructure.adoc | ||
| :_content-type: PROCEDURE | ||
| [id="registry-configuring-registry-storage-swift-trust_{context}"] | ||
| = Configuring the Image Registry Operator to trust Swift storage | ||
|
|
||
| You must configure the Image Registry Operator to trust {rh-openstack-first} Swift storage. | ||
|
|
||
| // to allow the client to pull the image layers from the image registry rather than from links directly from Swift. | ||
|
|
||
| .Procedure | ||
|
|
||
| * From a command line, enter the following command to change the value of the `spec.disableRedirect` field in the `config.imageregistry` object to `true`: | ||
| + | ||
| [source,terminal] | ||
|
||
| ---- | ||
| $ oc patch configs.imageregistry.operator.openshift.io cluster --type merge --patch '{"spec":{"disableRedirect":true}}' | ||
| ---- | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this procedure have prereqs? It looks like there's nothing to change in the command itself, so I suspect there might be. You might want to add them at some point.