k8s module does not work with openshift Template kind due to ResourceNotUniqueError #58130
Labels
affects_2.8
This issue/PR affects Ansible v2.8
bug
This issue/PR relates to a bug.
clustering
Clustering category
k8s
module
This issue/PR relates to a module.
support:community
This issue/PR relates to code supported by the Ansible community.
traceback
This issue/PR includes a traceback.
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: