Skip to content
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

Users should be able to provide a imagePullSecret when installing the Operator using OLM #1821

Closed
srinivasannanduri opened this issue Oct 20, 2020 · 2 comments
Labels
triage/support Indicates an issue that is a support question.

Comments

@srinivasannanduri
Copy link

Feature Request

When using private registries to store images, using these images requires a secret and the secret to be configured as imagePullSecret to pull operator images. However, OLM today do not provide a way for users to provide an imagePullSecret to be used to pull the images

Describe the solution you'd like
OLM should provide a way for users to provide an imagePullSecret during installation of an Operator from the Operator Catalog

@exdx
Copy link
Member

exdx commented Oct 22, 2020

Hi @srinivasannanduri, the CatalogSource CRD has a field on its spec called Secrets, which is an array of secret names that can be used for pulling operator images during the installation process (see https://github.com/operator-framework/api/blob/00315468e812212e3c893c469bae957251ae0308/crds/operators.coreos.com_catalogsources.yaml#L106). These secrets will be copied into the operator namespace and then used when pulling the image. Could you try adding the secrets there and see if that resolves your issue?

This is also mentioned in https://olm.operatorframework.io/docs/tasks/troubleshooting/catalogsource/#my-catalogsource-cannot-pull-images-from-a-private-registry

@exdx exdx added the triage/support Indicates an issue that is a support question. label Oct 22, 2020
@awgreene
Copy link
Member

It looks like this is a dupe of #1536 which has recently been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/support Indicates an issue that is a support question.
Projects
None yet
Development

No branches or pull requests

3 participants