Skip to content
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

feat(configmap): add configmap loader #3

Merged
merged 3 commits into from
Oct 19, 2018

Conversation

ecordell
Copy link
Member

This is to support the older catalog format, which stores data in a configmap.

OLM will use this to interact with configmaps and catalog images using the same interface.

This is to support the older catalog format, which stores data in a
configmap

var _ SQLPopulator = &ConfigMapLoader{}

func NewSQLLoaderForConfigMap(store registry.Load, configMap v1.ConfigMap) *ConfigMapLoader {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be better to remove the intermediate ConfigMap and just consume a directory of manifests? Since the ConfigMap will probably be too large to kubectl create anyway?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a decision we can make on the OLM side (what to do with the configmap after we have them converted here). I was thinking that it would make sense to continue to support the configmaps as a low barrier to entry; not really convinced they're that much easier though.

Copy link
Member

@njhale njhale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ecordell ecordell merged commit 7a09b7c into operator-framework:master Oct 19, 2018
philbrookes added a commit to philbrookes/operator-registry that referenced this pull request Apr 24, 2019
kevinrizza pushed a commit to kevinrizza/operator-registry that referenced this pull request Oct 29, 2019
rashmigottipati added a commit to rashmigottipati/operator-registry that referenced this pull request Jul 25, 2023
openshift-merge-robot pushed a commit that referenced this pull request Jul 25, 2023
… to a file-based catalog (#1127)

* Documentation on how to add a plain bundle to a file-based catalog

Signed-off-by: Rashmi Gottipati <[email protected]>

* Address review feedback

Signed-off-by: Rashmi Gottipati <[email protected]>

* Clarify regular bundle to be of registry+v1 format

Signed-off-by: Rashmi Gottipati <[email protected]>

* Address review feedback #1

Signed-off-by: Rashmi Gottipati <[email protected]>

* Address review feedback #2

Signed-off-by: Rashmi Gottipati <[email protected]>

* Address review feedback #3

Signed-off-by: Rashmi Gottipati <[email protected]>

* Add an example for the desired channel name and link to OLM best practices for channel naming conventions

Signed-off-by: Rashmi Gottipati <[email protected]>

---------

Signed-off-by: Rashmi Gottipati <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants