Inventory plugin for OCP Virtualization
- Dominant language
- Python
- Stars
- 9
- Forks
- 41
- Avg merge
- 8d 14h
- Merged PRs (30d)
- 2
Description
### Please confirm the following
- [X] I agree to follow this project's [code of conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html).
- [X] I have checked the [current issues](https://github.com/ansible/awx/issues) for duplicates.
- [X] I understand that AWX is open source software provided for free and that I might not receive a timely response.
### Feature type
New Feature
### Feature Summary
Hi,
I did not find a way to use dyamic inventory on AAP for OCP Virt.
I tried to create an Inventory Source using the community.okd.openshift inventory plugin, in order to do so, I created added an inventory sync from a project.
```
---
plugin: community.okd.openshift
connections:
- namespaces:
- jmorenas-dev
verify_ssl: false
```
This plugin requires a kubeconfig or a token, but, since I can only use project inventory sync, i can't land token or kubeconfig for this inventory sync.
It would be cool if there was an inventory sync the type of which is OpenShift Virtualization.
### Select the relevant components
- [X] UI
- [X] API
- [X] Docs
- [ ] Collection
- [ ] CLI
- [ ] Other
### Steps to reproduce
Try setting this in AAP and get VMs from OCP Virt https://docs.ansible.com/ansible/latest/collections/community/okd/openshift_inventory.html#ansible-collections-community-okd-openshift-inventory
### Current results
Not possible to use dynamic inventory for ocp virt / kubevirt on AAP/AWX
### Sugested feature result
Not possible to use dynamic inventory for ocp virt / kubevirt on AAP/AWX
### Additional information
_No response_
Contributor guide
Research direction
Start with the community.okd.openshift inventory plugin documentation linked in the issue and the AAP/AWX inventory-source configuration path. Define how OpenShift Virtualization/KubeVirt credentials and VM discovery would be represented in an inventory sync; done means a decided design that addresses the reported AAP limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes, python
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100