1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

Merge pull request #42840 from openshift-cherrypick-robot/cherry-pick-39641-to-enterprise-4.10

[enterprise-4.10] [BZ1810461] ShiftStack - Add procedure to allow Image Registry Operator to trust Swift
This commit is contained in:
Max Bridges
2022-03-04 13:15:15 -05:00
committed by GitHub
3 changed files with 26 additions and 7 deletions

View File

@@ -1291,8 +1291,8 @@ Topics:
File: configuring-registry-storage-aws-user-infrastructure
- Name: Configuring the registry for GCP user-provisioned infrastructure
File: configuring-registry-storage-gcp-user-infrastructure
# - Name: Configuring the registry for OpenStack user-provisioned infrastructure
# File: configuring-registry-storage-openstack-user-infrastructure
- Name: Configuring the registry for OpenStack user-provisioned infrastructure
File: configuring-registry-storage-openstack-user-infrastructure
- Name: Configuring the registry for Azure user-provisioned infrastructure
File: configuring-registry-storage-azure-user-infrastructure
- Name: Configuring the registry for OpenStack

View File

@@ -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}}'
----

View File

@@ -6,14 +6,12 @@ include::_attributes/common-attributes.adoc[]
toc::[]
You can configure the registry of a cluster that runs on your own {rh-openstack-first} infrastructure.
include::modules/registry-configuring-registry-storage-swift-trust.adoc[leveloffset=+1]
include::modules/registry-operator-config-resources-secret-openstack.adoc[leveloffset=+1]
include::modules/registry-configuring-storage-openstack-user-infra.adoc[leveloffset=+1]
include::modules/registry-operator-configuration-resource-overview-openstack-swift.adoc[leveloffset=+1]
////
This assembly is commented out for 4.2. When OpenStack UPI GAs, we can updated the associated modules and allow this assembly to build.
////