#release-engineering - December 2018

December 2018
endofcake
endofcakealmost 8 years ago
Anyone working with Hashicorp Vault? Keen to hear how you tackle the deployment pipeline.
joshmyers
joshmyersalmost 8 years ago
deployment of vault itself?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
also, vault+helm
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago(edited)
we did a poc earlier this year and did envconsul as PID1 in our containers
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
(envconsul is like chamber for vault)
endofcake
endofcakealmost 8 years ago
I deployed Vault itself with the community Helm chart (had to heavily modify it, which wasn’t an ideal experience). The first issue is that Vault needs to be initialised (if it’s the first time you are deploying it), and also unsealed. These steps are tricky to automate, which makes having ephemeral Vaults a challenge (cloud backed auto-unseal is not an option, HSM might be, but not right now).
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago

cloud backed auto-unseal is not an option
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
it is now - was just released to CE
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
maybe not supported by terraform modules yet
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago(edited)
supports KMS based unsealing
endofcake
endofcakealmost 8 years ago
The second issue is deploying configuration such as policies, auth methods etc. Right now we’re using Terraform, but authenticating is a problem.
endofcake
endofcakealmost 8 years ago
Yeah, I know it exists, that’s why I’m saying it’s not an option for us - we’re running on prem.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
ohhhhhhhh
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
on prem
endofcake
endofcakealmost 8 years ago
Heavily regulated financial environment. It’s a thing.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
heh, I bet.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
@Justin King might have more to contribute
joshmyers
joshmyersalmost 8 years ago
hmm, I’ve stored the root tokens for auto unseal before in an HSM, that the Vault nodes have read access to
joshmyers
joshmyersalmost 8 years ago
This wasn’t a kubernetes/helm deployment.
joshmyers
joshmyersalmost 8 years ago
It was a complex PCI environment (AWS) and Vault was in usage for the PKI backend. HA Vault instances came up, auto init, unseal, create their own certs for TLS between clients and them, and then start doling out certs to instances in the environment as they come up
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)almost 8 years ago
nice
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)almost 8 years ago
has anyone created a useful GitHub Action?
Gabe
Gabealmost 8 years ago
i was messing around to make on for terraform fmt
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
Niiice , what about docker layer caching and actions, if that works it would be just awesome.
mumoshu
mumoshualmost 8 years ago
@mumoshu has joined the channel