This repository has been archived by the owner on Dec 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: DNSProvider secret ref in DNSPolicy
Removes the requirement for a ManagedZone to be configured for a host in order for the DNSPolicy to create dns records for it. Make DNSRecord.zoneID optional Set specific allowed values for providerRef.Kind Allow a providerRef.Kind of ManagedZone that looks up zones from Managedzones in the current ns (Current behaviour) and loads dns client through the managed zone providerRef. Add logic around zoneAssignment in dnsPolicy, some providerRef.kinds will result in zoneAssignment being false which indicates that a zone is not going to be looked up or assigned to any created DNSRecords. A DNSRecord will be created for all listeners in this case. Created a v1alpha2 API for DNSPolicy, ManagedZone and DNSRecord. v1alpha1 versions are removed and no longer supported. E2E Test Updates * DO NOT MERGE Add 406_dnspolicy_provider_ref branch for testing * Add e2e test for dnspolicy focused on istio gateways and providers * Add suite id and generate a testDomainName to use for all tests in that instance of the suite (Avoids thigns like wildcard hosts being created that coudl affect all instances of a suite running in teh same hosted zone) * Removed all references to managed zones as input to the e2e test suite. Env vars required now are TEST_DNS_ZONE_DOMAIN_NAME, TEST_DNS_ZONE_ID and TEST_DNS_PROVIDER_SECRET_NAME. ManagedZone updates * Make description optional * fix managedZoneListToZoneList - use range index * Make ID and description pointers * Remove hostedzone prefix from AWS hosted zones * Use status id in managedZoneListToZoneList
- Loading branch information
Showing
62 changed files
with
2,490 additions
and
1,605 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
apiVersion: kuadrant.io/v1alpha1 | ||
apiVersion: kuadrant.io/v1alpha2 | ||
kind: ManagedZone | ||
metadata: | ||
name: dev-mz-aws | ||
spec: | ||
id: DUMMY_ID | ||
domainName: DUMMY_DOMAIN_NAME | ||
description: "Dev Managed Zone" | ||
dnsProviderSecretRef: | ||
providerRef: | ||
name: mgc-aws-credentials |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
apiVersion: kuadrant.io/v1alpha1 | ||
apiVersion: kuadrant.io/v1alpha2 | ||
kind: ManagedZone | ||
metadata: | ||
name: dev-mz-gcp | ||
spec: | ||
id: DUMMY_ID | ||
domainName: DUMMY_DOMAIN_NAME | ||
description: "Dev Managed Zone" | ||
dnsProviderSecretRef: | ||
providerRef: | ||
name: mgc-gcp-credentials |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.