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: handle mTLS support #162

Closed
wants to merge 3 commits into from
Closed

Conversation

lerminou
Copy link
Contributor

@lerminou lerminou commented Apr 22, 2021

What was changed:

This PR add support to configure mTLS temporal

Why?

Checklist

  1. Closes issue:

  2. How was this tested:

Deploy with and without all new options to a RKE cluster with success

  1. Any docs updates needed?
    Done in the Readme

@CLAassistant
Copy link

CLAassistant commented Apr 22, 2021

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@underrun underrun left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!

One overall question on the approach: would it be more ergonomic to either structure the tls template in the config map a little more and add the nested internode and frontend sections (which users could specify either one or both of) or make a more generic splat for additionalConfig or something like that?

the structured approach would be more helm idiomatic and provide better checking for things, but the splat would allow looser coupling of the helm chart and the server config which could be useful too ... thoughts?

@lerminou
Copy link
Contributor Author

lerminou commented Apr 22, 2021

Thanks for the review, comments addressed.

For the global approach, I can work for a more atomic configuration.

For the additionalConfig: I'm not a helm expert but the usage is more for adding boot scripts or composite config files or something like that no? because in our case everything is in the same file at the end

@lerminou
Copy link
Contributor Author

@underrun , I reworked the configMap to be more atomic, WDYT ?
First option is to configure TLS globally, and we can choose every parameter for both internode & frontend

it's my first Helm project, don't hesitate if I use wrong practices.

@lerminou
Copy link
Contributor Author

lerminou commented May 18, 2021

@underrun, @alexshtin , do you have time to check this ?

@underrun
Copy link
Contributor

Based on our new approach to structuring our helm chart this will be supported in a different way. See temporalio/proposals#42 for more details on what's changing.

@gthomson31
Copy link

I had went with customisation of the existing chart based from the pull request above

@joshbranham
Copy link
Contributor

Were you able to get the env vars for configuring TLS working? In my testing with the latest helm chart, the config_template.yaml does not seem to include the optional env var defaults as shown here

Template in helm: https://github.com/temporalio/helm-charts/blob/master/templates/server-configmap.yaml

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.

5 participants