-
Notifications
You must be signed in to change notification settings - Fork 34
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
extend health check spec #936
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #936 +/- ##
==========================================
- Coverage 81.49% 81.06% -0.44%
==========================================
Files 102 117 +15
Lines 7177 7752 +575
==========================================
+ Hits 5849 6284 +435
- Misses 898 1026 +128
- Partials 430 442 +12
Flags with carried forward coverage won't be shown. Click here to find out more.
|
controllers/dnspolicy_dnsrecords.go
Outdated
FailureThreshold: dnsPolicy.Spec.HealthCheck.FailureThreshold, | ||
Interval: dnsPolicy.Spec.HealthCheck.Interval, | ||
AdditionalHeadersRef: dnsPolicy.Spec.HealthCheck.AdditionalHeadersRef, | ||
AllowInsecureCertificate: dnsPolicy.Spec.HealthCheck.AllowInsecureCertificate, |
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.
I am kinda wondering does this make sense in the API. Or would it be better to make it an explicit option when starting the DNS operator? --insecure-health-checks
that just always set that flag for health checks. It being in the API feels like it could accidently get set for one policy and not noticed?
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.
Removed insecure checks from code. On the dns-operator side will also remove it from API (the probe-worker PR) We could wait with this PR and I will use it to update dnspolicy API and introduce flags for local dev to allow probes and insecure certs
Signed-off-by: Maskym Vavilov <[email protected]>
337416f
to
39a4b4c
Compare
Transfer healthcheck spec from policy to the record properly