Repository navigation
Enable ExternalDNS on Umapyoi - #245
Merged
Merged
Conversation
|
Terraform plan in azure/terraform/stacks/acm-general in the prod workspace Plan: 1 to add, 0 to change, 0 to destroy. Changes to Outputs.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# azurerm_federated_identity_credential.umapyoi_externaldns[0] will be created
+ resource "azurerm_federated_identity_credential" "umapyoi_externaldns" {
+ audience = [
+ "api://AzureADTokenExchange",
]
+ id = (known after apply)
+ issuer = "https://k8s-oidc.umapyoi.acmuic.org"
+ name = "umapyoi-externaldns"
+ parent_id = "*************************************************************************************************************************************************************"
+ resource_group_name = "acm-general"
+ subject = "system:serviceaccount:external-dns:externaldns"
}
Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
!~ azurerm_dns_zone_acm_uic = {
id = "/subscriptions/2f98793b-7e2f-4f03-ac5b-7b2ec934dcd7/resourceGroups/acm-general/providers/Microsoft.Network/dnsZones/acmuic.org"
name = "acmuic.org"
!~ number_of_record_sets = 85 -> 84
tags = {}
# (4 unchanged attributes hidden)
}✅ Plan applied in Terraform Apply on Azure #70 Outputsazurerm_dns_zone_acm_uic = {
id = "/subscriptions/2f98793b-7e2f-4f03-ac5b-7b2ec934dcd7/resourceGroups/acm-general/providers/Microsoft.Network/dnsZones/acmuic.org"
max_number_of_record_sets = 10000
name = "acmuic.org"
name_servers = [
"ns1-06.azure-dns.com.",
"ns2-06.azure-dns.net.",
"ns3-06.azure-dns.org.",
"ns4-06.azure-dns.info.",
]
number_of_record_sets = 84
resource_group_name = "acm-general"
tags = {}
timeouts = null
}
default_resource_group = "acm-general"
externaldns_sp_clientid = "f995b4bc-00a0-4912-9a1a-da9f74407cb8"
externaldns_sp_keyid = "4851f036-2284-446d-80b5-cd53d66bdb54"
externaldns_sp_password = (sensitive value)
pfsense_service_principal_id = "/servicePrincipals/732cd17c-42d8-4463-be7f-ca627b6eee87"
pfsense_service_principal_password = (sensitive value)
subscription_id = "2f98793b-7e2f-4f03-ac5b-7b2ec934dcd7"
tenant_id = "cad5e02f-bae4-42d6-a06e-4377dd3e386f"
umapyoi_externaldns_client_id = "6af90cb0-e759-4346-a799-f5fdadffc9d8" |
|
Terraform plan in azure/terraform/stacks/sysadmin-demo in the prod workspace No changes. Your infrastructure matches the configuration.✅ Plan applied in Terraform Apply on Azure #70 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enable Azure workload identity federation for Umapyoi ExternalDNS after the cluster signing-key rotation. Run one replica with the sync policy so deleting a Kubernetes source also deletes its owned DNS record. The TXT owner ID is
umapyoi, and the Terraform-managed tunnel and OIDC names remain excluded.Verified that the public issuer serves only the rotated key, the Kubernetes service account matches the Azure identity, and the existing zone-level DNS role is in place. Validated Terraform and rendered the pinned Helm chart. After deployment, the end-to-end test will create and delete a temporary ExternalName Service and check its CNAME and ownership TXT records against Azure DNS and the four authoritative nameservers.