Based on an annotation on a service or ingress, this will make sure the resource has the most up to date external IP address for external-dns to sync with. This extends the external-dns project with one new annotation which will use a mutating webhook to update the ever changing public IP as a target for external-dns.
When the following label is set
external-ddns: 'true'
The resource will get the following annotation injected with your public wan IP so external-dns can do its magic.
external-dns.alpha.kubernetes.io/target: <wan ip>
kind: Ingress
apiVersion: networking.k8s.io/v1
metadata:
name: myapp
labels:
external-ddns: 'true'
spec:
...
kind: Service
apiVersion: v1
metadata:
name: myapp
labels:
external-ddns: 'true'
spec:
...
Content type
Image
Digest
Size
42.1 MB
Last updated
over 5 years ago
docker pull kferrone/external-ddns