skillhub/deploy/k8s/base/secret.yaml.example
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

31 lines
945 B
Text
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.

# SkillHub Secret 配置
# 复制此文件为 secret.yaml 并修改值
# cp secret.yaml.example secret.yaml
apiVersion: v1
kind: Secret
metadata:
name: skillhub-secret
type: Opaque
stringData:
# PostgreSQL 连接配置
# 使用外部数据库:修改主机地址和端口
# 使用内置数据库overlays/with-infra保持 postgres:5432
spring-datasource-url: jdbc:postgresql://postgres:5432/skillhub
spring-datasource-username: skillhub
spring-datasource-password: change-me
# Bootstrap 管理员密码(敏感)
bootstrap-admin-password: ChangeMe!2026
# GitHub OAuth可选用于 GitHub 登录)
oauth2-github-client-id: ""
oauth2-github-client-secret: ""
# LLM 配置(可选,用于技能扫描)
skill-scanner-llm-api-key: ""
skill-scanner-llm-model: ""
# S3 存储配置(可选,使用 S3/OSS 时配置)
skillhub-storage-s3-access-key: ""
skillhub-storage-s3-secret-key: ""