You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do?
A clear and concise description of the steps you took (or insert a code snippet).
I have my cluster in private subnet and don't have access to internet to pull the images. I have added imagePullSecrets to other deployment (i.e. olm-operator, catalog-operator) and it is working fine. But for kind CatalogSource it is not working.
What did you expect to see?
I am expecting the last two lines that will take as a imagePullSecrets
What did you see instead? Under which circumstances?
If I use this, then cluster is able to pull images from my private repository with secret mysecret.
Environment
operator-lifecycle-manager version:
v0.17.0
Kubernetes version information:
1.18.9
Kubernetes cluster kind:
Possible Solution
imagePullSecrets needs to be added where the images are being pulled. This will help in private subnet clusters.
The text was updated successfully, but these errors were encountered:
Hi @apurvabhandari , the field on the catalog source spec is called secrets not imagePullSecrets. I think if you were to change it, and provide the name of the secret, it should work. The functionality was provided in #1878.
We should consider as follow-up work to validate the spec of the catalog source more closely by setting preserveUnknownfields: false so that this catalog would not be applied to the cluster successfully.
Furthermore, we definitely need to work on docs related to this specific topic as it is a frequent source of confusion. Going to open an issue on the olm-docs repo to track some documentation work related to this: operator-framework/olm-docs#145
Bug Report
What did you do?
A clear and concise description of the steps you took (or insert a code snippet).
I have my cluster in private subnet and don't have access to internet to pull the images. I have added
imagePullSecrets
to other deployment (i.e. olm-operator, catalog-operator) and it is working fine. But for kind CatalogSource it is not working.What did you expect to see?
I am expecting the last two lines that will take as a imagePullSecrets
What did you see instead? Under which circumstances?
If I use this, then cluster is able to pull images from my private repository with secret mysecret.
Environment
v0.17.0
1.18.9
Possible Solution
imagePullSecrets needs to be added where the images are being pulled. This will help in private subnet clusters.
The text was updated successfully, but these errors were encountered: