Provision production AKS ingress DNS and TLS

未关闭
#76 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 4 天内回复

@jsturtevant 已经在做这个了。

开始于 2026年11月20日。

  • #77 来自 @jsturtevant —— 未关闭
  • #78 来自 @jsturtevant —— 未关闭
  • #79 来自 @jsturtevant —— 未关闭

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
azure, kubernetes, rust

调研方向

Start by reading the work in issues #35 and #67 and locating the Azure provider and shared platform installation entry points. The issue describes the desired configuration, ownership rules, and readiness behavior, but does not identify files or existing integration tests. Done means trusted HTTPS works through Kourier, certificate issuance and renewal are covered, and domain changes and cleanup preserve customer-owned resources.

由索引模型根据 Issue 内容生成。

描述

Problem

AKS installations currently use Lampyr's self-signed wildcard certificate for Kourier ingress. Users must configure public DNS and replace the development certificate themselves before serving production traffic.

Lampyr already installs cert-manager, so AKS can provide an opt-in production path without adding another certificate controller.

Proposed direction

Add provider configuration for a user-owned Azure DNS zone and production TLS mode. For example:

domain: apps.example.com
ingress:
  azureDnsZoneResourceId: /subscriptions/.../resourceGroups/.../providers/Microsoft.Network/dnszones/example.com
  tls:
    mode: acme
    email: [email protected]
    issuer: letsencrypt-prod

The Azure provider and shared platform installation should:

  • create or select a stable public IP for Kourier;
  • configure wildcard DNS records for the Knative domain;
  • create a narrowly scoped managed identity and federated credential for DNS-01;
  • grant DNS Zone Contributor only on the configured zone;
  • configure a cert-manager ACME issuer using Azure DNS DNS-01;
  • request wildcard certificates for *.domain and *.default.domain;
  • write the certificate to the existing kourier-system/lampyr-kourier-tls Secret;
  • wait for DNS, Certificate readiness, and Kourier readiness before reporting success; and
  • renew certificates automatically through cert-manager.

Keep the current self-signed certificate as the development default. Also support an existing-Secret mode for organizations that manage certificates through Key Vault or another corporate system.

Ownership and cleanup

  • Never create or delete the customer's Azure DNS zone.
  • Record and remove only Lampyr-owned DNS records, identities, role assignments, issuers, and certificates.
  • Do not store Azure client secrets; use Workload Identity.
  • Reconcile domain changes without deleting a working certificate before its replacement is ready.

Completion criteria

  • An AKS installation can expose a Lampyr Service through trusted HTTPS without manual certificate copying.
  • Wildcard DNS resolves to the stable Kourier ingress address.
  • Certificate issuance and renewal use cert-manager with Azure DNS DNS-01.
  • Identity permissions are scoped to the configured DNS zone.
  • Installation health reports DNS, issuer, certificate, and ingress readiness.
  • Uninstall preserves the customer-owned DNS zone and removes only owned resources.
  • Integration coverage verifies initial issuance, renewal/reconciliation, domain changes, and cleanup.

Follow-up to #35 and #67.

主要语言
Rust
星标
3
派生
2
平均合并
3 天 57 分钟
30 天内合并 PR
17

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

hyperlight-dev/lampyr 的其他 Issue

查看 hyperlight-dev/lampyr 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。