[liiibre operator] manage annotations for external DNS
Following investigation done in linked ticket.
Requirements:
for each ingress of the cluster:
- get all hosts from tls and regular host field
- remove duplicate
- change
.
in-
- append
liiib.re
- compile them in a list
- add this list as comma separated annotation:
example: external-dns.alpha.kubernetes.io/hostname: beta-indiehosters-net.liiib.re,beta-indiehosters-net2.liiib.re