-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Proposal] Add support to OLM bundle format #703
base: develop
Are you sure you want to change the base?
[Proposal] Add support to OLM bundle format #703
Conversation
This commit intends to add a proposal to introduce support for installing OLM bundles in registry+v1 format to kapp-controller. Signed-off-by: Varsha Prasad Narsing <[email protected]>
✅ Deploy Preview for carvel canceled.
|
cc: @ncdc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we also add a desired workflow for users to be able to install operators?
} | ||
``` | ||
|
||
With the help of the following inputs, kapp-controller can then convert the registry+v1 contents into a set of plain kubernetes manifests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a little bit more details need to be added on how kapp-controller can convert this into plain Kubernetes manifests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@praveenrewar The conversion between OLM's registryV1 to plain k8s manifest is based on a yaml named "ClusterServiceVersion" - CSV (https://olm.operatorframework.io/docs/concepts/crds/clusterserviceversion/). There is a direct 1 on 1 translation - which means that based on the info given specified in a CSV yaml (like deployment spec and permissions) we create individual ClusterRoles, service accounts, Bindings, Deployments etc.
@praveenrewar The e2e workflow remains the same as it is now with any other bundle using kapp-ctrl with the introduction of this templating step. With this change, we intend to enable the installation of operators using an OLM specific format. That being said, kapp-ctrl as is can still deploy operators - if it is packaged using Helm chart, or just through a bunch of plain k8s manifests. |
@varshaprasad96 , |
This commit intends to add a proposal to introduce support for installing OLM bundles in
registry+v1
format to kapp-controller.