-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passing extra-vars via key=value is broken #46
Comments
@djzager could you please clarify if this is a regression or now it would be possible to add extra-vars only via json / yaml ? |
Apologies are two-fold @ibuziuk
Hope that helps. |
This seems to have broken many APBs that used e.g. https://github.com/openshift-labs/starter-guides/tree/ocp-3.11/apb |
Getting this error too, but fixing the version to Is this repo still alive? If not, is there an alternative solution to replace APBs? |
Originally the issue [1] was found in eclipse-che where tests are executed via the following command using the
canary
version of apb-base :oc run "${APB_NAME}-test" -it --restart='Never' --image "${REGISTRY}/${APB_NAME}/${APB_NAME}" --env "OPENSHIFT_TOKEN=${OC_PASS}" --env "OPENSHIFT_TARGET=https://kubernetes.default.svc" --env "POD_NAME=${APB_NAME}-test" --env "POD_NAMESPACE=${APB_NAME}" --overrides='{"apiVersion":"v1","spec":{"serviceAccountName":"apb"}}' -- test -e namespace=${APB_NAME}
The following command works correctly against
sprint150.1
version of apb-base, but fails with the following error against the most recent version:Basically, it appeared to be that on the recent version of apb-base extra vars must be passed the following way:
-e "{"namespace": "${APB_NAME}"}"
and-e namespace=${APB_NAME}
way of passing extra vars is not supported currently even though the docs are saying the opposite:[1] ansibleplaybookbundle/eclipse-che-apb#23
The text was updated successfully, but these errors were encountered: