operator-framework / operator-lifecycle-manager

A management framework for extending Kubernetes with Operators
https://olm.operatorframework.io
Apache License 2.0
1.72k stars 545 forks source link

How to add private docker registry to Openshift/Kubernetes OLM #2032

Open SAbdulRahuman opened 3 years ago

SAbdulRahuman commented 3 years ago

Type of question

How to add private docker registry to OLM of Openshift/Kubernetes ?.

Question

What did you do? We have developed kubernetes operator using operator-sdk and also tested it in Openshift/Kubernetes. We have uploaded the operator + required microservices to internal docker registry, Now we need to install the operator using OLM. So How can i add the operator to Kubernetes/openshift using Catalog ?.

What did you expect to see? How to add private docker registry to CatalogSource ?. or is it possible to add private docker registry to Openshift/Kubernetes using catalog source ?.

What did you see instead? Under which circumstances?

Environment

Additional context

exdx commented 3 years ago

Using a private registry to store the catalog image and make a catalog source available in the cluster is a common question.

See https://olm.operatorframework.io/docs/tasks/make-index-available-on-cluster/#using-registry-images-that-require-authentication-as-indexbundleoperatoroperand-images for more information.

Please follow-up if you need any further info