#gitops - January 2020

gitopsArchived
11 messages

Discuss continuous delivery of infrastructure
Archive: https://archive.sweetops.com/gitops/

January 2020
Pierre Humberdroz
Pierre Humberdrozalmost 7 years ago(edited)
Hey,

I am currently looking to do the following thing:
Define database needs in application instead of inside an IaC repo.
https://github.com/helm-notifier/Terraform-Infrastructure/blob/master/02-step2/postgresHelmNotifier.tf <- I would like to move this inside of an application repo.
This creates a database with a username/password and provisions a secret to to the k8s cluster
Nick Kampe
Nick Kampealmost 7 years ago
anyone have any clever ways to spin up a container that will fetch a remote config map and apply it?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 7 years ago
Do you use Helmfile?
Nick Kampe
Nick Kampealmost 7 years ago
negative, Kustomize
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 7 years ago
Aha! There’s your problem ;)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 7 years ago
Helmfile is a swissarmy knife, so it would be possible to call curl
Nick Kampe
Nick Kampealmost 7 years ago(edited)
Well I'm running k8s on the edge at a lot of sites that have specific configs that need to be applied
Nick Kampe
Nick Kampealmost 7 years ago
so I was going to create a mutating webhook service to attach a pod with them
Nick Kampe
Nick Kampealmost 7 years ago
potentially, if there's no better solutions
Nick Kampe
Nick Kampealmost 7 years ago
We've avoided helm for this long, not going to bring it in now 🙂
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 7 years ago
Haha fair enough