Files
cube/apps/cube/k8s/registry-ingress.yaml
T
Fam Zheng 1e04655003
deploy cube / build-and-deploy (push) Successful in 1m11s
deploy piano-sheet / build-and-deploy (push) Successful in 1m44s
deploy simpleasm / build-and-deploy (push) Successful in 1m22s
ci: 统一 k8s manifest 为 apps/*/k8s/all.yaml
- 三个 app 的 5 个独立 yaml 合成单文件 all.yaml,多 doc 内显式排序,apply 不再受目录字母序影响(这是 piano-sheet run #49 NotFound 的根因)
- simpleasm/cube workflow 补 Initialize K8s resources 步骤,跟 piano-sheet 对齐;今后 manifest 改动 CI 自动 apply
- cube 的 _registry-ingress.yaml 不再需要前缀绕排序,去掉 _
2026-05-05 10:38:38 +01:00

23 lines
753 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# registry.famzheng.me — 反代到 gitea container registry
# Docker daemon 期望 https://<host>/v2/...gitea 内置 registry 在 gitea pod 的 /v2/ 下,
# 所以这条 ingress 不 strip 任何路径,全部 pass-through 到 gitea-svc:3000。
# 不属于 cube app #0 本身,但平台基础设施先放在 app #0 目录里,未来可以挪到独立的 platform/ ns。
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: registry
namespace: gnoc-gitea
spec:
ingressClassName: traefik
rules:
- host: registry.famzheng.me
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: gitea
port:
number: 3000