mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
22 lines
1.1 KiB
Plaintext
22 lines
1.1 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * registry/configuring-registry-operator.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="registry-operator-config-resources-storage-credentials_{context}"]
|
|
= Configuring storage credentials for the Image Registry Operator
|
|
|
|
[role="_abstract"]
|
|
In addition to the `configs.imageregistry.operator.openshift.io` Custom Resource (CR) and ConfigMap resources, storage credential configuration is provided to the Operator by a separate secret resource. This resource is located within the `openshift-image-registry` namespace.
|
|
|
|
You can create an `image-registry-private-configuration-user` secret that in turn creates custom credentials needed for storage access and management. If default credentials exist, the custom credentials override the default credentials used by the Operator.
|
|
|
|
.Procedure
|
|
|
|
* Create an {product-title} secret that contains the required keys.
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc create secret generic image-registry-private-configuration-user --from-literal=KEY1=value1 --from-literal=KEY2=value2 --namespace openshift-image-registry
|
|
----
|