https://www.padok.fr/ https://www.padok.fr/en/blog https://www.padok.fr/en/blog/tag/technology https://www.padok.fr/en/blog/argocd-traefik-kubernetes In this article, we will implement a header routing solution, which is a way to route traffic from the HTTP request headers in addition to (or instead of) the "traditional" HTTP Host routing method.
💡 To go further, we can manage Traefik and ArgoCD in ArgoCD so that they are automatically deployed in case of an update...
In order for ArgoCD to deploy our Helm Chart, we will create an Application resource.
The frontend-dev application will use the values-dev.yaml file of the Helm Chart: this file adds a rule based on the x-frontend-dev header for routing: Headers(x-frontend-env, dev).