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

Store integration code in a configmap #54

Closed
lburgazzoli opened this issue Sep 12, 2018 · 2 comments
Closed

Store integration code in a configmap #54

lburgazzoli opened this issue Sep 12, 2018 · 2 comments
Assignees

Comments

@lburgazzoli
Copy link
Contributor

We do store the integration code inside the Integration CRD but it would be better to have a default strategy that stores it in a configmap and mount them to the runtime pod

@lburgazzoli lburgazzoli self-assigned this Sep 12, 2018
@nicolaferraro
Copy link
Member

I was thinking to keep the CR self contained as much as possible. We can use the configmap strategy as mechanism to put the code into the pod. In this scenario, the configmap is created by the operator to inject the code. The user updates the CR, the operator reflects the changes into the configmap, then refreshes the deployment.

@nicolaferraro
Copy link
Member

We are talking here about a technical configmap.

There'll be cases where we want to let users externalize configuration in configmaps and secrets, but that is a different story.

lburgazzoli added a commit to lburgazzoli/apache-camel-k that referenced this issue Sep 12, 2018
lburgazzoli added a commit to lburgazzoli/apache-camel-k that referenced this issue Sep 12, 2018
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

No branches or pull requests

2 participants