Skip to content

Commit cc5de94

Browse files
authored
Merge pull request #1760 from aileenjackson/patch-2
Add procedure to specify docker pull secret for embedded workflow
2 parents 65d6544 + 876bd8c commit cc5de94

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

managing_providers/_topics/embedded_workflows.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ In addition to the *Embedded Workflows* UI, **Embedded Workflows** can also be u
3838

3939
* Service Catalog Items
4040

41-
The provisioning, reconfigure, and retirement entry points include the option for using **Embedded Workflows** or **Embedded Automate**. You can set the point field to the workflow that you want to use for any, or all, of the three service entry points.
41+
The provisioning, reconfigure, and retirement entry points include the option for using **Embedded Workflows** or **Embedded Automate**. You can set the point field to the workflow that you want to use for any, or all, of the three service entry points.
4242

4343
![Entry Points options](../../images/embedworkflow_entrypointsembedded.png)
4444

@@ -169,21 +169,23 @@ Workflows must be authored in Amazon State Languages (ASL) format. As part of au
169169

170170
When you have the code for your task resource written, you need to bundle it into a docker image. You can bundle the code by creating a standard [Dockerfile](https://docs.docker.com/engine/reference/builder/) and building the image (https://docs.docker.com/engine/reference/commandline/build/). Then, you can push the image to a [registry](https://docs.docker.com/engine/reference/commandline/push/), which makes the image available to be used by {{ site.data.product.title_short }}. When you have pushed your images to an image registry, you can add the registry to {{ site.data.product.title_short }}.
171171

172-
a) On appliances, `podman` is used to execute the container
172+
* On appliances, `podman` is used to execute the container
173+
173174
On appliances, `podman` is used to execute the container so use [podman login](https://docs.podman.io/en/stable/markdown/podman-login.1.html) as the `manageiq` user.
174175

175-
```
176+
```text
176177
# su manageiq
177178
$ podman login docker.io
178179
Username:
179180
Password:
180181
Login Succeeded!
181182
```
182183
183-
You are recommended to use a docker.io [access token](https://docs.docker.com/security/for-developers/access-tokens/) so that the token does not expire.
184+
You are recommended to use a docker.io [access token](https://docs.docker.com/security/for-developers/access-tokens/) so that the token does not expire.
185+
186+
* Provide an image pull secret to a podified Kubernetes container, and then add it to a service account
184187
185-
b) Provide an image pull secret to a podified Kubernetes container, and then add it to a service account
186-
In order to pull an image from a private registry you have to provide an `ImagePullSecret` to your containers, see [Pull an Image from a Private Registry](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/). {{ site.data.product.title_short }} uses a service account called `manageiq-default` to run containers for your workflows. You can add an `ImagePullSecret` to this service account by following [Add Image Pull Secrets to a service account](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account/).
188+
In order to pull an image from a private registry you have to provide an `ImagePullSecret` to your containers, see [Pull an Image from a Private Registry](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/). {{ site.data.product.title_short }} uses a service account called {{ site.data.product.workflow_service_account }} to run containers for your workflows. You can add an `ImagePullSecret` to this service account by following [Add Image Pull Secrets to a service account](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account/).
187189
188190
#### Example: Provisioning Workflow
189191

0 commit comments

Comments
 (0)