ansible / awx-resource-operator

41 stars 34 forks source link

Update AnsibleJob CRD to require template name. Update AnsibleJob status with inventory #24

Closed mikeshng closed 4 years ago

mikeshng commented 4 years ago

The first change is to update AnsibleJob CRD to require template name. This is useful for letting K8s do the validation upfront which saves some operator processing.

The second change is to update AnsibleJob status with inventory value. This value is useful to show what was actually sent to the Tower. For example, after the AnsibleJob is created and a request is sent to the AWX/Tower server, users can update the AnsibleJob values under spec but that's not going to change the values under status which are the values that were actually used in the request.