Skip to content

Commit 48f4fdc

Browse files
committed
address kevin's comment:
* make the instruction more generic * provide an example for operator-sdk Signed-off-by: Simone-Rodigari <[email protected]>
1 parent 02dfc0f commit 48f4fdc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

content/en/docs/Tasks/make-catalog-available-on-cluster.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,12 @@ spec:
8585
interval: 10m
8686
```
8787

88-
If the `imagePullSecret` is referenced in the bundle, for instance when the controller-manager image is pulled from a private registry, there is no place in the API to tell OLM to attach the `imagePullSecrets`. As a consequence, permissions to pull the image should be added directly to the controller-manager deployment configurations. This can be achieved by updating `config/manager/manager.yaml` and adding `deployment.spec.template.spec.imagePullSecrets` with the required secret name.
88+
If the `imagePullSecret` is referenced in the bundle, for instance when the controller-manager image is pulled from a private registry, there is no place in the API to tell OLM to attach the `imagePullSecrets`. As a consequence, permissions to pull the image should be added directly to the operator Deployment's manifest by adding the required secret name to the list `deployment.spec.template.spec.imagePullSecrets`.
89+
90+
For the [operator-sdk](https://sdk.operatorframework.io/) abstraction, the operator Deployment's manifest is found under `config/manager/manager.yaml`. Below is an example of a controller-manager Deployment's manifest configured with an `imagePullSecret` to pull container images from a private registry.
8991

9092
```yaml
93+
# config/manager/manager.yaml
9194
apiVersion: apps/v1
9295
kind: Deployment
9396
metadata:

0 commit comments

Comments
 (0)