knative / eventing-operator

DEPRECATED: Development continues in https://github.com/knative/operator/
Apache License 2.0
20 stars 28 forks source link

Tooling to generate OLM metadata #70

Open aliok opened 4 years ago

aliok commented 4 years ago

Metadata published to OperatorHub (see https://github.com/knative/eventing-operator/issues/68) is initially created manually.

For future versions, we can generate the OLM metadata using the manually created one.

Required:

aliok commented 4 years ago

/assign @aliok

aliok commented 4 years ago

We can use Operator SDK cli to generate CSV also for non-Operator-SDK operators.

I've done some experiments here: https://github.com/aliok/eventing-operator/tree/olm-experiments-bundle

Filed 2 tickets:

  1. https://github.com/operator-framework/operator-sdk/issues/2266
  2. https://github.com/operator-framework/operator-sdk/issues/2267

and objected https://github.com/operator-framework/operator-sdk/pull/2249 which makes Operator SDK cli unusable for upstream Knative eventing operator.

Gonna leave it there until Operator SDK team makes a decision.

I don't think we need to pursue any other tool. We just need to give Operator SDK team good feedback to help them support what we need.

aliok commented 4 years ago

Update: I am still helping Operator SDK team to make the CLI supporting the cases we need at Knative operators: https://github.com/operator-framework/operator-sdk/pull/2511

We're very close to have tooling ready for our cases.

aliok commented 4 years ago

https://github.com/operator-framework/operator-sdk/pull/2511 has lots of progress. Once that PR is merged and we fix https://github.com/knative/eventing-operator/issues/128, we can use operator-sdk as is to generate OLM metadata.