Closed cooktheryan closed 1 year ago
Aside from the CSV params missing, this PR works as expected. After building and deploying the operator from this PR, I am able to apply the following yaml and an inventory is created in my AWX instance.
$ cat hacking/create-inventory.yml
apiVersion: tower.ansible.com/v1alpha1
kind: AnsibleInventory
metadata:
name: inventory-new-2
spec:
connection_secret: awxaccess
description: My New Inventory Test
name: newinventory2
organization: Default
state: present
instance_groups: default
There appears to be an issue with the CSV generation when running make bundle, these two CRD's don't get populated:
There should be x-descriptors, etc. (they exist in config/manifests/bases/csv, but not in the generated bundle/manifests/crd)
The
InstanceGroup
one is already fixed indevel
if you rebase, that should render now. It looks like theAnsibleInventory
CSV x-descriptors and params still need to be added forAnsibleInventory
inconfig/manifests/bases/awx-resource-operator.clusterserviceversion.yaml