diff --git a/deploy/olm-catalog/knative-kafka-operator/0.6.0/knative-kafka-operator.v0.6.0.clusterserviceversion.yaml b/deploy/olm-catalog/knative-kafka-operator/0.6.0/knative-kafka-operator.v0.6.0.clusterserviceversion.yaml index 33f2291..5a336e5 100644 --- a/deploy/olm-catalog/knative-kafka-operator/0.6.0/knative-kafka-operator.v0.6.0.clusterserviceversion.yaml +++ b/deploy/olm-catalog/knative-kafka-operator/0.6.0/knative-kafka-operator.v0.6.0.clusterserviceversion.yaml @@ -17,6 +17,11 @@ metadata: spec: apiservicedefinitions: {} customresourcedefinitions: + required: + - name: knativeeventings.eventing.knative.dev + description: Represents an installation of a Knative Eventing + displayName: Knative Eventing + kind: KnativeEventing owned: - name: knativeeventingkafkas.eventing.knative.dev description: Represents an installation of a Knative components for Apache Kafka diff --git a/hack/catalog.sh b/hack/catalog.sh index 66f5410..a9a876c 100755 --- a/hack/catalog.sh +++ b/hack/catalog.sh @@ -6,8 +6,6 @@ NAME=${NAME:-$(ls $DIR/deploy/olm-catalog)} x=( $(echo $NAME | tr '-' ' ') ) DISPLAYNAME=${DISPLAYNAME:=${x[*]^}} -LATEST=$(find $DIR/deploy/olm-catalog -name '*version.yaml' | sort -n | sed "s/^.*\/\([^/]..*\).clusterserviceversion.yaml$/\1/" | tail -1) - indent() { INDENT=" " sed "s/^/$INDENT/" | sed "s/^${INDENT}\($1\)/${INDENT:0:-2}- \1/"