Repository navigation
Move the Umapyoi tunnel gateway to tunnel.umapyoi.acmuic.org - #239
Merged
Merged
Conversation
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>
# Conflicts: # kubernetes/argocd/umapyoi/frp-client/deployment.yaml
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.
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.