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

support for ssl consumer properties using values #28

Closed
oferzi23 opened this issue Mar 15, 2021 · 14 comments
Closed

support for ssl consumer properties using values #28

oferzi23 opened this issue Mar 15, 2021 · 14 comments
Assignees
Labels
enhancement New feature or request

Comments

@oferzi23
Copy link
Contributor

ii is my understanding that due to the limitations of cmak, which specifies that 1 consumer properties object will apply to all clusters effectively requiring allowing the same certificate across all managed clusters, is not the best solution. i do need this in my implementation.
so the question is, can we add this support here and allow passing consumer properties to the chart using it's values. if this is accepted i will add the support on my open fork and open the respective PR. WDYT?

@eshepelyuk
Copy link
Owner

If CMAK supports passing SSL params to its consumer - I can add this to this project,
If CMAK doesn't - it would be impossible.

To be clear, are you talking about securing consumer traffic with SSL ?

@eshepelyuk
Copy link
Owner

eshepelyuk commented Mar 15, 2021

According to this issue SSL settings are the same for the all clusters managed by single CMAK instance.

So, I'd advice you to just install several instances of CMAK operator, one for each cluster \ SSL key.

@oferzi23
Copy link
Contributor Author

well that's the point i made in the initial comment. the old kafka-manager chart did support it and the issue you referenced is exactly the reason i think this was removed but i do need it as my current pattern is to create multiple kafka clusters with 1 certificate created for cmak and allowed in all clusters. so if i PR this feature you have no objection to it?

@oferzi23
Copy link
Contributor Author

If CMAK supports passing SSL params to its consumer - I can add this to this project,
If CMAK doesn't - it would be impossible.

To be clear, are you talking about securing consumer traffic with SSL ?

yes

@eshepelyuk
Copy link
Owner

Sorry, I still don't understand what do you trying to achieve :(
You can pass a certificate to CMAK operator, but only a single one, that will be used for all instances of Kafka configured in CMAK.

@oferzi23
Copy link
Contributor Author

yes that is what i want

@oferzi23
Copy link
Contributor Author

currently the chart as far as i can tell does not support it

@eshepelyuk
Copy link
Owner

Seems I had understood now. There is no possibility of passing customer properties file into CMAK Deployment. Am I right ?

@oferzi23
Copy link
Contributor Author

yes we will need to add 2 components here. 1 will be a configMap to replace the consumer.properties ate /cmak/conf in the ui container of the deployment. the other component will need to be a secret which will add a truststore and a keystore into the ui container...

@eshepelyuk
Copy link
Owner

Makes sense @oferzi23
You are welcome to provide a PR if you are ready to implement this feature.

@oferzi23
Copy link
Contributor Author

already on it PR will be pushed soon...

@eshepelyuk eshepelyuk added the enhancement New feature or request label Mar 17, 2021
@eshepelyuk
Copy link
Owner

Hello @oferzi23
Thanks for your contribution, I've merged your PR #30 and added a linter test.
Will you be able to test baseline version of this Helm chart after I release a new version ?

@eshepelyuk
Copy link
Owner

@oferzi23 released 1.6.0 with your changes, could you please confirm that everything is working fine ?

@eshepelyuk
Copy link
Owner

Hello @oferzi23
Any feedback on this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants