8000 Move the Umapyoi tunnel gateway to tunnel.umapyoi.acmuic.org by clee231 · Pull Request #239 · acm-uic/IaC · GitHub
[go: up one dir, main page]

Skip to content

Move the Umapyoi tunnel gateway to tunnel.umapyoi.acmuic.org - #239

Merged
clee231 merged 4 commits into
mainfrom
codex/umapyoi-tunnel-hostname
Dec 1, 2026
Merged

clee231 merged 4 commits into
mainfrom
codex/umapyoi-tunnel-hostname

Conversation

@clee231
@clee231 clee231 commented Dec 1, 2026 •
Copy link
Copy Markdown
Contributor

Move the Umapyoi FRP client to tunnel.umapyoi.acmuic.org. The client uses this name for both its control connection and the TLS server name. The gateway VM and public addresses stay in service throughout the rename.

Before merging

Merging triggers the Argo CD client rollout with the final CA bundle. The Cilium chart explicitly configures ADS for the agent and Envoy, and the OIDC Ingress allows HTTP-01 challenges to reach cert-manager. Keep the old DNS records until both FRP proxies reconnect, public application traffic passes, and other consumers have migrated. The cutover and rollback instructions include the final parent-zone cleanup.

Verification

Kustomize and KubeLinter passed for the client. The isolated FRP 0.72.0 smoke test passed with the new tunnel hostname for IPv4 and IPv6 HTTP/HTTPS and after client and server restarts. OpenTofu formatting and validation passed for the gateway stack.

clee231 added a commit that referenced this pull request Dec 1, 2026
This pull request introduces Kubernetes manifests to support Azure
Workload Identity and OIDC discovery within the Umapyoi infrastructure.
The changes add ArgoCD applications for managing these components and
define all necessary resources for securely serving OIDC discovery
documents in the cluster.

# Azure Workload Identity Integration:

- Adds a new ArgoCD `Application` (`azure-workload-identity-webhook`) to
deploy the Azure Workload Identity webhook via Helm, including resource
constraints and automated sync policies.
- Creates the required `Namespace` (`azure-workload-identity-system`)
for the webhook deployment.

# OIDC Discovery Service:

- Adds a new ArgoCD `Application` (`workload-identity-oidc`) to deploy
OIDC discovery resources from the repository, with automated sync and
server-side apply enabled.
- Defines all Kubernetes resources needed to serve OIDC discovery
documents:
- Namespace, ServiceAccount, RBAC (ClusterRole/Binding) for publishing
discovery docs.
- NGINX Deployment (with initContainer to fetch discovery docs),
Service, ConfigMap for NGINX config.
- Shared Cilium Ingress behind the Umapyoi public tunnel for HTTPS at
`k8s-oidc.umapyoi.acmuic.org`, using a cert-manager TLS secret.

## Umapyoi public DNS

Terraform creates `umapyoi.acmuic.org`, delegates it from `acmuic.org`,
and publishes A and AAAA aliases for `tunnel.umapyoi.acmuic.org` against
the existing Azure gateway public IP resources. It points the `k8s-oidc`
CNAME at that hostname so Entra can reach discovery before ExternalDNS
starts. The ACM app cluster's ExternalDNS configuration excludes this
delegated zone.

When federation is enabled, the dedicated managed identity trusts
`system:serviceaccount:external-dns:externaldns` from this issuer. It
has Reader on `acm-general` for zone discovery and DNS Zone Contributor
on the child zone. Apply this PR and configure the API server issuer,
public JWKS URI, before deploying
[#230](#230).


The FRP client cutover is tracked in
[#239](#239). Apply the DNS additions
here before switching the client.


The initial rollout stages the overlapping FRP trust roots and uses a
namespaced ACME Issuer for discovery HTTPS. Azure token exchange is
disabled pending the cluster signing-key maintenance.

---------

Co-authored-by: Lam Nguyen <lamtnguyen989@gmail.com>
@clee231
clee231 marked this pull request as ready for review December 1, 2026 07:15
@clee231
clee231 merged commit 81d5479 into main Dec 1, 2026
3 checks passed
@clee231
clee231 deleted the codex/umapyoi-tunnel-hostname branch December 1, 2026 07:15
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