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

SPIRE/SPIFFE based deployment for TLS #184

Open
blaggacao opened this issue Oct 6, 2020 · 4 comments
Open

SPIRE/SPIFFE based deployment for TLS #184

blaggacao opened this issue Oct 6, 2020 · 4 comments
Projects

Comments

@blaggacao
Copy link
Contributor

blaggacao commented Oct 6, 2020

We have deployed a SPIRE/SPIFFE infrastructure, reason for which I'll be working on a SPIRE/SPIFFE TLS impelementation in the coming days. I think it has the potential to deprecate most of the hack-scripting of what's in quick-install.

Specifically, these parts:
https://github.com/ContainerSolutions/trow/blob/f66fdac14c81f305563ca7c7ac949fe7695dfd69/quick-install/install.sh#L15-L18

I'm reaching out to check if contributions about this would be welcome.

In any case, please be as responsive and decisive as possible about my PRs so we can make the most out of my this week's raid on trow. 😉

@blaggacao
Copy link
Contributor Author

blaggacao commented Oct 7, 2020

I think, by now, I have +- a plan. A sidecar spiffe-helper would continously roll the certificates and expose them through a shared ephimeral volume. Remaining open question:

How can I instruct trow to gracefully reload the certificates without service disruptions? (TCP or unix IPC both are possible)

Note: certificates are rolled well ahead of expire at about 80% of TTL.

@amouat
Copy link
Contributor

amouat commented Oct 7, 2020

I'm not 100% sure what your plan is and how it will work. If it simplifies things or is more maintainable or portable to different distros, I'm definitely up for merging it :)

The current solution is a hack, but it's a hack that means the user can get Trow running in a few minutes (if not seconds) with little thought or configuration.

We can definitely figure out something regarding certificate reloading.

This was referenced Oct 7, 2020
@blaggacao

This comment has been minimized.

@blaggacao
Copy link
Contributor Author

blaggacao commented Oct 13, 2020

So here is a prototype:

@amouat amouat added this to To do in Trow Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Trow
  
To do
Development

No branches or pull requests

2 participants