#gitops (2020-01)
Discuss continuous delivery of infrastructure
Archive: https://archive.sweetops.com/gitops/
2020-01-14
![Pierre Humberdroz avatar](https://avatars.slack-edge.com/2019-12-10/856434906819_d99dd3e0bce66357e0ce_72.png)
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](https://avatars.slack-edge.com/2019-12-10/856434906819_d99dd3e0bce66357e0ce_72.png)
Does anyone here have a clue how to archieve this in an efficient manner?
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
@Pierre Humberdroz let’s discuss on #office-hours ! interesting topic
![Pierre Humberdroz avatar](https://avatars.slack-edge.com/2019-12-10/856434906819_d99dd3e0bce66357e0ce_72.png)
Sure!
2020-01-26
![Nick Kampe avatar](https://avatars.slack-edge.com/2019-12-19/881306625072_447f6e59320073c5418a_72.png)
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](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
Do you use Helmfile?
2020-01-28
![Nick Kampe avatar](https://avatars.slack-edge.com/2019-12-19/881306625072_447f6e59320073c5418a_72.png)
negative, Kustomize
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
Aha! There’s your problem ;)
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
Helmfile is a swissarmy knife, so it would be possible to call curl
![Nick Kampe avatar](https://avatars.slack-edge.com/2019-12-19/881306625072_447f6e59320073c5418a_72.png)
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](https://avatars.slack-edge.com/2019-12-19/881306625072_447f6e59320073c5418a_72.png)
so I was going to create a mutating webhook service to attach a pod with them
![Nick Kampe avatar](https://avatars.slack-edge.com/2019-12-19/881306625072_447f6e59320073c5418a_72.png)
potentially, if there’s no better solutions
![Nick Kampe avatar](https://avatars.slack-edge.com/2019-12-19/881306625072_447f6e59320073c5418a_72.png)
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
Haha fair enough