Add the ability to specify resources inline with the operator-builder workload configuration. This obviously is not to encourage someone to type out an entire deployment in their workload config, rather it would be useful for something like a Namespace resource where one may need to be created, but it is not desirable to manage a separate file for that resource. That would change the spec for resources to:
We should also maintain backwards compatibility and assume that the absence of a file or inline key would default to it being a file. E.g. this would still be valid:
Add the ability to specify resources inline with the operator-builder workload configuration. This obviously is not to encourage someone to type out an entire deployment in their workload config, rather it would be useful for something like a
Namespace
resource where one may need to be created, but it is not desirable to manage a separate file for that resource. That would change the spec for resources to:We should also maintain backwards compatibility and assume that the absence of a
file
orinline
key would default to it being afile
. E.g. this would still be valid: