anik120 opened a new pull request #366: -Add Camel-K CSV and Package for OLM 
integration and deployment of op…
URL: https://github.com/apache/camel-k/pull/366
 
 
   …erator through OperatorHub
   
   - This pull requests introduces a CSV and Package which can be bundled 
together and used by the [Operator Lifecycle 
Manager(OLM)](https://github.com/operator-framework/operator-lifecycle-manager) 
to install, manage, and upgrade the Camel-K Operator in a cluster.
   
   - The Camel-K operator versions available to all Kubernetes clusters using 
OLM can be updated by submitting a pull request to the [Community Operators 
GitHub repo](https://github.com/operator-framework/community-operators) that 
includes the latest CSVs, CRDs, and Packages.
   
   - The CSV was created based on the [documentation provided by 
OLM](https://github.com/operator-framework/operator-lifecycle-manager/blob/master/Documentation/design/building-your-csv.md)
 and the 
[documentation](https://github.com/operator-framework/community-operators/blob/master/docs/marketplace-required-csv-annotations.md)
 provided by 
[OperatorHub](https://github.com/operator-framework/operator-marketplace).
   
   - It was confirmed that the behavior of the operator deployed by the steps 
outlined in the Camel-K README reached a running state in a Kubernetes 1.11.0 
cluster with OLM installed, and that the operator watched the creation of the 
cr.example.yaml CR provided in the deploy directory. It was then confirmed that 
the operator deployed with the CSV matched this behavior in the same 
environment.
   
   - The CSV had to be verified against the [scorecard functionality recently 
introduced](https://github.com/operator-framework/operator-sdk/pull/758) to the 
[Operator-sdk](https://github.com/operator-framework/operator-sdk), to ensure 
that it conforms to the format expected by the OLM. However, the sdk currently 
does not support scoring operators that have multiple CRDs. A [feature 
request](https://github.com/operator-framework/operator-sdk/issues/984) has 
been made against the operator-sdk repository to allow testing operators that 
have multiple CRDs. The CSV in this pull request has been manually verified 
instead. All future changes to the CSV should be tested against the scorecard, 
when the feature becomes available.
   
   OLM integration can be improved by future code changes to the Operator:
   - Addressing the operator-sdk scorecard tests that might fail, once the 
Operator can be scored with the scorecard.
   - Adding additional information to the Camel-K CSV based on the [CSV 
documentation provided by 
OLM](https://github.com/operator-framework/operator-lifecycle-manager/blob/master/Documentation/design/building-your-csv.md)
   - Adding additional information to the Camel-K CSV based on the [CSV 
documentation provided by 
OperatorHub](https://github.com/operator-framework/community-operators/blob/master/docs/marketplace-required-csv-annotations.md)
   
   - Adding [StatusDescriptors and 
SpecDescriptors](https://github.com/operator-framework/operator-lifecycle-manager/blob/master/Documentation/design/building-your-csv.md#your-custom-resource-definitions)
 to the CRDs
   - Adding additional CR examples to `metadata.annotations.alm-examples`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to