The current code is blocked on this issue we're seeing with FD API.
The controller is intended to run as a secondary ingress in a cluster, for example alongside traefik
.
It looks for any ingress
objects with the annotation azure/frontdoor: enabled
and when found updates an Azure Front Door instance with the path based routing defined in the ingress
.
The aim is to allow a collection of clusters to sit behind Azure Front Door and have new services, and their routing rules, automatically added into Front Door as they are deployed to any of the clusters.
Add a .env file with the following defined for Azure connection
AZURE_SUBSCRIPTION_ID=
AZURE_TENANT_ID=
AZURE_CLIENT_ID=
AZURE_CLIENT_SECRET=