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

chore: Remove DNSRecord ownerID generation #716

Merged

Conversation

mikenairn
Copy link
Member

The ownerID field on DNSRecord is now optional, the dns operator will ensure a valid unique ownerID for all DNSRecords if none is explicitly set.

Requires: Kuadrant/dns-operator#170

@mikenairn mikenairn force-pushed the remove_dnsrecord_owner_id_generation branch 3 times, most recently from d9b9063 to cb589a3 Compare June 27, 2024 15:10
The `ownerID` field on DNSRecord is now optional, the dns operator will
now ensure a valid unique ownerID for all DNSRecords if none is
explicitly set.
@mikenairn mikenairn force-pushed the remove_dnsrecord_owner_id_generation branch from cb589a3 to f846c99 Compare June 27, 2024 15:30
})),
)
}, tests.TimeoutMedium, time.Second).Should(Succeed())
}, tests.TimeoutLong, time.Second).Should(Succeed())
Copy link
Member Author

Choose a reason for hiding this comment

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

@makslion This test was sometimes failing. My guess is that previously one of the DNSRecords was never becoming ready due to Kuadrant/dns-operator#165 so it was consistently partially enforced. Now though they can both become ready so we should just wait for it to be fully enforced. Presumably that should happen relatively quickly in the test setup.

@mikenairn mikenairn marked this pull request as ready for review June 27, 2024 15:36
@mikenairn mikenairn requested a review from a team as a code owner June 27, 2024 15:36
Copy link
Collaborator

@maleck13 maleck13 left a comment

Choose a reason for hiding this comment

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

/lgtm

@mikenairn mikenairn merged commit 25383ed into Kuadrant:main Jun 28, 2024
18 checks passed
@mikenairn mikenairn deleted the remove_dnsrecord_owner_id_generation branch June 28, 2024 09:56
dlaw4608 pushed a commit to dlaw4608/kuadrant-operator that referenced this pull request Jul 3, 2024
Reconcile out of order gateway resource creation. (Kuadrant#638)

* On gateway creation if no backrefs are found reconcile AuthPolices with a status of ACCEPTED: false and REASON: TargetNotFound.

* using dag for reconcile trigger.

* fix unit tests

* Tidy up of some WIP code

* Fix the out-of-order creation issue for authPolices.

* Fix issues raised from the CI tests

* Rebase updates

* Fix integration test, sleep required for some reason.

* Refactor to remove the need for switches.

* Update unit tests to match refactor

* Remove deprecated `FromInt`

* Updates after rebase

* small update to make lists.

* rebase format fix

* Revert time.sleep

* Add logging for error message

* Address comment request

chore: Remove DNSRecord ownerID generation (Kuadrant#716)

The `ownerID` field on DNSRecord is now optional, the dns operator will
now ensure a valid unique ownerID for all DNSRecords if none is
explicitly set.

 Add TargetRef to AuthPolicy and Fix Formatting and Integration Tests

- Added TargetRef to AuthPolicy to specify the target reference.
- Replaced the gateway object with the gateway wrapped inside the gatewayWrapper.
- Fixed various errors and improved code formatting.
- Resolved issues with Istio integration tests.

This commit consolidates multiple changes made during the development process, improving the stability and functionality of the AuthPolicy controller and related tests.

Add TargetRef to AuthPolicy and Fix Formatting and Integration Tests  - Added TargetRef to AuthPolicy to specify the target reference.
    - Replaced the gateway object with the gateway wrapped inside the gatewayWrapper.
    - Fixed various errors and improved code formatting.
    - Resolved issues with Istio integration tests.

    This commit consolidates multiple changes made during the development process, improving the stability and functionality of the AuthPolicy controller and related tests.

understanding worflow github actions example

updated kind cluster version from v0.22.0 to v0.23.0, along with node image from v1.29.2 to v1.30.0

Removed unnecessary file
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.

2 participants