1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/deployments-accessing-private-repos.adoc
2024-03-15 12:15:52 +00:00

24 lines
792 B
Plaintext

// Module included in the following assemblies:
//
// * applications/deployments/managing-deployment-processes.adoc
:_mod-docs-content-type: PROCEDURE
[id="deployments-accessing-private-repos_{context}"]
= Accessing private repositories from DeploymentConfig objects
You can add a secret to your `DeploymentConfig` object so that it can access images from a private repository. This procedure shows the {product-title} web console method.
.Procedure
. Create a new project.
. Navigate to *Workloads* -> *Secrets*.
. Create a secret that contains credentials for accessing a private image repository.
. Navigate to *Workloads* -> *DeploymentConfigs*.
. Create a `DeploymentConfig` object.
. On the `DeploymentConfig` object editor page, set the *Pull Secret* and save your changes.