skillhub/deploy/k8s/overlays/external/kustomization.yaml
xiose d84537a901 docs: add Kubernetes deployment guide with overlays structure
- Restructure k8s configs with base/overlays pattern for flexibility
- Add overlays/with-infra for full deployment (PostgreSQL + Redis)
- Add overlays/external for external database scenarios
- Add comprehensive ConfigMap with bootstrap admin settings
- Fix health check path to /actuator/health (auth issue)
- Add SKILLHUB_API_UPSTREAM env for frontend
- Set SESSION_COOKIE_SECURE=false for HTTP environments
- Add Chinese and English documentation in docs/skillhub/
2026-04-02 20:40:40 +08:00

15 lines
346 B
YAML
Raw Permalink 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.

# 外部数据库部署
# 使用方式:kubectl apply -k overlays/external/
# 前置条件:修改 base/configmap.yaml 和 secret.yaml 中的数据库连接地址
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: skillhub
resources:
- ../../base
labels:
- pairs:
app.kubernetes.io/deployment: external-db