TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

ASK HN: Managing Kubernetes TLS Using Vault

1 pointsby maxbrydakover 2 years ago
Hi guys, I&#x27;ve been doing Kelsey Hightower&#x27;s Kubernetes The Hard Way (https:&#x2F;&#x2F;github.com&#x2F;kelseyhightower&#x2F;kubernetes-the-hard-way), but I&#x27;ve decided to go even a harder way.<p>So, I&#x27;ve decided to manage the infra in terraform &amp; build full CI&#x2F;CD pipelines, and I&#x27;m stuck at generating and distributing TLS certificates. (https:&#x2F;&#x2F;github.com&#x2F;kelseyhightower&#x2F;kubernetes-the-hard-way&#x2F;blob&#x2F;master&#x2F;docs&#x2F;04-certificate-authority.md)<p>Doing it with bash script&#x27;s &amp; cfssl would require me to do some hacky stuff inside my pipelines, and I&#x27;d rather solve that too with terraform.<p>I&#x27;ve been thinking about provisioning an off-k8s HA Hashicorp Vault cluster of VMs built with packer and use vault terraform provider to generate all the needed certs.<p>But I in general kinda suck at understanding TLS, or more – the related PKI infrastructure, chain of trust and how it works, my brain seems kinda resilient to it.<p>So, looking for an advice on how to approach it.

no comments

no comments