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
k8s module does not work with openshift Template kind due to ResourceNotUniqueError #58130
Comments
Had a conversation with @fabianvf on the upstream openshift python client which he says is behaving correctly in that openshift itself replies with multiple values for kind Template. If openshift is correct in having multiple values, and the client is correct in throwing |
A quick workaround is to copy the k8s
|
… by [kind, name, singularName, shortNames] * ansible/ansible#55221 * openshift/origin#21668 * ansible/ansible#58130 * ansible/ansible#49100
Looks like this was resolved in the upstream lib as part of PR 333 |
SUMMARY
OpenShift returns two values when you search for
kind: Template
which causes a request to create a template to fail.ISSUE TYPE
COMPONENT NAME
k8s
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
WSL:
Windows:
STEPS TO REPRODUCE
Replace the placeholders in the playbook that follows with your openshift info, and run the playbook
EXPECTED RESULTS
The template gets created
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: