Skip to content
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

Create/Delete HealthCheckProbeCR from DNSRecord Reconciler #271

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maksymvavilov
Copy link
Contributor

@maksymvavilov maksymvavilov commented Oct 15, 2024

Create and delete DNSHealthProbe CRs during reconciliation of the DNSRecords.
This replaced logic in internal/controller/dnsrecord_healthchecks.go to create new healthchecks but does not remove the code that would generate old healthchecks.

@maksymvavilov maksymvavilov linked an issue Oct 15, 2024 that may be closed by this pull request
@maksymvavilov maksymvavilov changed the title [WIP] Create/Delete HealthCheckProbeCR from DNSRecord Reconciler Create/Delete HealthCheckProbeCR from DNSRecord Reconciler Oct 16, 2024
}
})

It("Should create valid probe CRs and remove them on DNSRecord deletion", func() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Creating a trivial integration check. At this moment we can only verify the creation of CR to our liking and a correct removal. Will expand in tests as the work progresses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Health Check CRs from DNS Record reconciler
1 participant