#gitops (2020-01)

Discuss continuous delivery of infrastructure

Archive: https://archive.sweetops.com/gitops/

2020-01-14

Pierre Humberdroz avatar
Pierre Humberdroz

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

Pierre Humberdroz avatar
Pierre Humberdroz

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

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

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

Pierre Humberdroz avatar
Pierre Humberdroz

Sure!

2020-01-26

Nick Kampe avatar
Nick Kampe

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

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Do you use Helmfile?

2020-01-28

Nick Kampe avatar
Nick Kampe

negative, Kustomize

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Aha! There’s your problem ;)

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

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

Nick Kampe avatar
Nick Kampe

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

Nick Kampe avatar
Nick Kampe

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

Nick Kampe avatar
Nick Kampe

potentially, if there’s no better solutions

Nick Kampe avatar
Nick Kampe

We’ve avoided helm for this long, not going to bring it in now

1
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Haha fair enough

    keyboard_arrow_up