it would be very useful if i could do something like
matrix:
- name: inputs
objects:
matches:
apiVersion: v1
kind: SomeResource
namespace: default
selector:
"some/label": "yay"
and then the matrix would have each matching object in an array as the input
the reason is - i would like to use a template combined with my own crd to deploy sets of resources. the template-operator in this way can act like a generic operator, which is very cool.
happy to contribute if yall think it would be a good idea