Replies: 1 comment 6 replies
-
I've been playing with Flux v2 / ArgoCD lately with Tanka (currently using Flux v1). Flux / Argo are flexible enough to handle any directory structure you need - since both let you specify the directory you want to apply commands to (so can you can limit blast radius). If you are going down the approach of wanting to apply manifests directly (like at runtime via If you pre-render manifests and save them to Git, you can run a lot more tests on them (which makes bulk apply-all safer). Findings with Flux v2
Findings with ArgoCD
Whilst I don't think this is a great idea, with custom plugins on ArgoCD I can pass values to Tanka: https://tanka.dev/jsonnet/injecting-values#top-level-arguments This allows me to define a single In general this allows us to de-couple tanka apps from the cluster they are deployed to. Other stuff
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I started looking into CD territory (Argo and Flux) with Tanka.
Does anyone already have some setup/architecture working that you could share / talk about ?
I remember that Grafana Team is using Flux + some tk export workflow for instance.
Also I could use advice on organising envs as each of these CD tools relies on the Application/Helm (hence some identified directory) concepts that we currently don’t have/use -> we use a monorepo where Environment = Customer/Stage(Staging/Prod) including all its dependencies, with common bits in /lib or /vendor.
We are struggling on this Environment separation since quite some time now, as each approach (all in one or separated by componant but duplicating this applicative env in each of our customers) has advantages and drawbacks (all in one allows tk apply a whole customer whereas separated envs limit blast radius but complicate the tk apply workflow).
There is also the secrets question, how to gitops them efficiently ?
We use SealedSecret right now, which is a noop on CD, but we would like to switch over to sops which is supported on Flux, but not natively on Argo.
So yeah, I would greatly appreciate some insights and/or shared experiences on integrating Tanka in a GitOps CD scenario.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions