infinispan / infinispan-operator

Infinispan Operator
https://infinispan.org/docs/infinispan-operator/main/operator.html
Apache License 2.0
48 stars 53 forks source link

Infinispan and Data Grid operators define the same kind, name and version #226

Closed ricardozanini closed 4 years ago

ricardozanini commented 4 years ago

Hi!

We're using Infinispan Operator as a dependency for our own operator and sometimes OLM installs DataGrid instead of Infinispan. This is happening because both define the same kind, name and version:

    required:
    - description: Represents a Infinispan cluster used internally by Kogito Data
        Index Service
      displayName: Infinispan Cluster
      kind: Infinispan
      name: infinispans.infinispan.org
      version: v1

Is it possible to have different kind for DataGrid? That way we can differentiate from the upstream/downstream projects.

Many thanks!

rigazilla commented 4 years ago

Hi @ricardozanini, is this dependency specified in the operator metadata? Please add a link so we can have a look. Thanks!

ricardozanini commented 4 years ago

Hi @rigazilla! Yes, we add it as a dependency in the operator manifest. Here's more info about OLM dependency management: https://github.com/operator-framework/operator-lifecycle-manager#dependency-resolution

Thanks!

ricardozanini commented 4 years ago

@rigazilla take a look at: https://github.com/operator-framework/operator-lifecycle-manager/issues/1158