mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-08 03:07:51 +00:00
- 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/
15 lines
346 B
YAML
15 lines
346 B
YAML
# 外部数据库部署
|
||
# 使用方式: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
|