-
Notifications
You must be signed in to change notification settings - Fork 131
Switch to coredns with DNSendpoint plugin #292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
51f258c to
3d92452
Compare
somaritane
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍
|
@ytsarev thoughts? |
ytsarev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks super cool - but how we test this shotgun-surgery level change? With current terratest test suite almost as it is.
@k0da please clarify the test automation approach
| Name: gslb.Name, | ||
| Namespace: gslb.Namespace, | ||
| Annotations: map[string]string{"k8gb.absa.oss/dnstype": "local"}, | ||
| Labels: map[string]string{"k8gb.absa.oss/dnstype": "local"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we keep both labels and annotations?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes for backward compatibilty.
|
@ytsarev terratest brings coredns up, terratest runs dig against Change isn't huge. We just cutted of ETCD as medium for CoreDNS and use DNSEndpoint object directly. |
* put dnstype as label * Drop etcd, internal extdns instance, and coredns with etcd plugin * Use CoreDNS with DNSEndpoint plugin Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
7a0701c to
cb79e1e
Compare
|
@k0da could you point me to the tests you are talking about? |
|
@k0da so pretty much existing regression test suite. Ok, it makes sense |
During CoreDNS refactor https://github.com/AbsaOSS/k8gb/pull/292 local external-dns instance was removed, while Route53 and NS1 external-dns instances relies on service account created by local instance. This commit brings back external-dns service account. Fixes: https://github.com/AbsaOSS/k8gb/issues/328 Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
During CoreDNS refactor https://github.com/AbsaOSS/k8gb/pull/292 local external-dns instance was removed, while Route53 and NS1 external-dns instances relies on service account created by local instance. This commit brings back external-dns service account. Fixes: https://github.com/AbsaOSS/k8gb/issues/328 Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
* Bring back external-dns service account During CoreDNS refactor https://github.com/AbsaOSS/k8gb/pull/292 local external-dns instance was removed, while Route53 and NS1 external-dns instances relies on service account created by local instance. This commit brings back external-dns service account. Fixes: https://github.com/AbsaOSS/k8gb/issues/328 Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa> * Add missing RBAC for external-dns Signed-off-by: Yury Tsarev <yury.tsarev@absa.africa> Co-authored-by: Yury Tsarev <yury.tsarev@absa.africa>

Signed-off-by: Dinar Valeev dinar.valeev@absa.africa