-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add DNSPolicy health check tests #573
Conversation
It looks good to me and it (more or less) worked yesterday for me, but today with a new Kuadrant nightly build it does not work. The reason is that DNSPolicy keeps being successfully enforced despite failing health_check. So this piece:
is never true. Not sure if there has been any changes related to this behavior recently and whether it is intended or not but it seems like a bug to me. |
It happened to me twice that I got following error:
As if the resource has not been created yet or ownership relationship has not been established quickly enough. I don't think this is something to fix in this PR - we'll see in nightlies whether this is worth investigating or not. |
It's a bug where if any subdomain in the hostname starts with a number, the dnsoperator won't generate a health probe object for this endpoint. So if testsuite, for example, will generate hostname.123abc.app-services.net hostname for the this test, then test will fail. It is a known issue and I'm waiting for it to get resolved |
Signed-off-by: averevki <[email protected]>
9efcda2
to
98bfe91
Compare
Thanks, there were indeed some changes in the dnspolicy. Adjusted now 👍 |
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.
Code looks good to me. Tests passed against November 19 nightly build. Approving this one.
Test cases:
Also added classes for the health check section of the DNSPolicy and for the DNSHealthCheckProbe CR
Part of the #572