Skip to content

Commit bbda952

Browse files
committed
Merge pull request #1759 from aileenjackson/patch-1
Update embedded_workflows.md
2 parents 20801a2 + 4e7c20c commit bbda952

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

managing_providers/_topics/embedded_workflows.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ 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-
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.
172+
a) On appliances, `podman` is used to execute the container
173+
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.
173174

174175
```
175176
# su manageiq
@@ -181,6 +182,9 @@ Workflows must be authored in Amazon State Languages (ASL) format. As part of au
181182

182183
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.
183184

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/).
187+
184188
#### Example: Provisioning Workflow
185189

186190
```asl

0 commit comments

Comments
 (0)