mirror of
https://github.com/fluxcd/flagger.git
synced 2026-03-01 17:20:47 +00:00
Some third party software relies on annotations and labels on istios VirtualServices. For instance external-dns makes use of the `external-dns.alpha.kubernetes.io/controller` annotation. Currently there is no way to set labels and annotations on the VirtualService resource.
This change takes the metadata from the `canary.Spec.Service.Apex` property to replicate exactly what is already possible for a traefik resource:
c36a13ccff/pkg/router/traefik.go (L59-L68)
Fix #854
Signed-off-by: Jonny Langefeld <jonny.langefeld@gmail.com>