-
Notifications
You must be signed in to change notification settings - Fork 254
how do I set the image for keystore-create? #715
Copy link
Copy link
Open
Description
This morning our automation broke because ForgeOps uses the latest image from the public repo for the keystore-create job. The error seems to be an inability to find jq on the path.
Regardless, we want our scripting to always use our images.
From the documentation, it is not clear how to set the image for the keystore-create job prior to running forgeops apply. I attempted to use forgeops image with the following result:
invalid choice: 'keystore-create' (choose from 'platform', 'apps', 'ui', 'am', 'amster', 'am-config-upgrader', 'idm', 'ds', 'admin-ui', 'end-user-ui', 'login-ui', 'ig', [])
My workaround for now is to execute the following just prior to running forgeops apply. The workaround works but I was expecting to be able to use forgeops image for this.
yq ./kustomize/base/keystore-create/keystore-create-job.yaml |
yq ".spec.template.spec.initContainers[0].image=\"$am_url\"" > \
edit.yaml
mv edit.yaml ./kustomize/base/keystore-create/keystore-create-job.yamlReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels