Closed tiraboschi closed 5 years ago
@tiraboschi Why are you trying to use the courier to push anything with multi value document yaml? The courier only supports the packaging model that the Operator Lifecycle Manager consumes, which is a set of single document yamls (csvs, crds, and package files).
Can you help me understand your use case? What is in this file you are attempting to push?
@tiraboschi ^
currently we are trying to have it validating the content of https://github.com/kubevirt/hyperconverged-cluster-operator/tree/master/deploy/converged but we have there multi document files and cluster role bindings which are also failing the validation due to the kind.
@tiraboschi The courier won't package those. Not just because the courier doesn't support them, but because the underlying operator-registry
does not have the ability to unpack and support these files. If that is something that you need, support for those files will need to be implemented in operator-registry
and the Operator Lifecycle Manager
. Otherwise they just won't be applied and used even if the courier does attempt to package them.
@tiraboschi some additional reading:
https://github.com/operator-framework/operator-registry#manifest-format
Closing as NAI
I'm trying to use the operator courier over a valid multi document yaml file but it failed with just:
without that much details.
Printing the whole exception I discovered that it's failing on: