skillhub/deploy/k8s/base/secret.yaml.example
XiaoSeS 2df4c913cb feat(github-sync): add continuous public repository discovery and skill sync
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
2026-10-20 14:40:46 +08:00

51 lines
1.8 KiB
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
# Redis 数据节点密码(单机、Sentinel 与 Cluster 共用;无密码时留空)
redis-password: ""
# Redis Sentinel 独立密码;与数据节点相同时也可填写同一个值
redis-sentinel-password: ""
# Bootstrap 管理员密码(敏感)
bootstrap-admin-password: ChangeMe!2026
# 公开 GitHub 采集服务身份;启用独立 Go Deployment 时填写至少 32 字符的随机值
github-sync-service-token: ""
# AES-256-GCM 密钥环:v1=<32 字节随机密钥的 Base64>,可逗号分隔保留旧版本。
github-sync-credential-keys: ""
github-sync-active-credential-key-version: ""
# GitHub OAuth(可选,用于 GitHub 登录)
oauth2-github-client-id: ""
oauth2-github-client-secret: ""
# 飞书 OAuth(可选,用于飞书登录;留空则登录页不展示该入口)
oauth2-feishu-client-id: ""
oauth2-feishu-client-secret: ""
# 钉钉 OAuth(可选,用于钉钉登录;留空则登录页不展示该入口)
oauth2-dingtalk-client-id: ""
oauth2-dingtalk-client-secret: ""
# LLM 配置(可选,用于技能扫描)
skill-scanner-llm-api-key: ""
skill-scanner-llm-base-url: ""
skill-scanner-llm-model: ""
# S3 存储配置(可选,使用 S3/OSS 时配置)
skillhub-storage-s3-access-key: ""
skillhub-storage-s3-secret-key: ""