8000 Enable ExternalDNS on Umapyoi by clee231 · Pull Request #245 · acm-uic/IaC · GitHub
[go: up one dir, main page]

Skip to content

Enable ExternalDNS on Umapyoi - #245

Merged
clee231 merged 1 commit into
mainfrom
codex/enable-umapyoi-externaldns
Dec 3, 2026
Merged

clee231 merged 1 commit into
mainfrom
codex/enable-umapyoi-externaldns

Conversation

@clee231
@clee231 clee231 commented Dec 3, 2026
Copy link
Copy Markdown
Contributor

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.

@github-actions
github-actions Bot commented Dec 3, 2026 •
Copy link
Copy Markdown

Terraform plan in azure/terraform/stacks/acm-general in the prod workspace
With var files: azure/terraform/stacks/acm-general/configuration/prod.tfvars

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

Outputs
azurerm_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"

@github-actions
github-actions Bot commented Dec 3, 2026 •
Copy link
Copy Markdown

Terraform plan in azure/terraform/stacks/sysadmin-demo in the prod workspace
With var files: azure/terraform/stacks/sysadmin-demo/configuration/prod.tfvars

No changes. Your infrastructure matches the configuration.
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

✅ Plan applied in Terraform Apply on Azure #70

@clee231
clee231 merged commit d86aaf7 into main Dec 3, 2026
3 checks passed
@clee231
clee231 deleted the codex/enable-umapyoi-externaldns branch December 3, 2026 22:05
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.

1 participant

0