Hi :slightly_smiling_face: :wave: I was wondering ...
# ask-community-for-troubleshooting
j
Hi 🙂 👋 I was wondering if there is a way to setup connections as code in a Kubernetes environment ? (with a GitOps tool like ArgoCD for instance)
a
Take a look at https://github.com/airbytehq/airbyte/tree/master/octavia-cli. We've got all of our sources/destinations/connections configured as code with that tool. We didn't setup CD, but I'd be curious how you solve that if you do go down that road! We change these configurations so infrequently that getting CD configured has yet to rise in priority for my team.
r
ehy @Adam Bloom, octavia user here.
I am wondering, how do you manage your secrets? Unfortunately it seems I cannot make it work properly using ${YOUR_SECRET}
a
@Roberto Malcotti just occurred to me that I should maybe submit a PR to add our strategy to the docs - it's a bit different than the recommendations. Env vars work no problem, but if you installed via the instructions,
octavia
runs in a docker container that gets its env from
~/.octavia
, so you'll need to define the env vars there, not in the environment that you use to invoke the command
We use sops to commit the encrypted secrets along with our configurations, along with a modified wrapper that decrypts the sops secrets to a temporary file that is passed to the container for command execution.