#gitops (2020-01)
Discuss continuous delivery of infrastructure
Archive: https://archive.sweetops.com/gitops/
2020-01-14

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

Does anyone here have a clue how to archieve this in an efficient manner?

@Pierre Humberdroz let’s discuss on #office-hours ! interesting topic

Sure!
2020-01-26

anyone have any clever ways to spin up a container that will fetch a remote config map and apply it?

Do you use Helmfile?
2020-01-28

negative, Kustomize

Aha! There’s your problem ;)

Helmfile is a swissarmy knife, so it would be possible to call curl

Well I’m running k8s on the edge at a lot of sites that have specific configs that need to be applied

so I was going to create a mutating webhook service to attach a pod with them

potentially, if there’s no better solutions


Haha fair enough