Files
ewoooc/k8s 2/03-secrets.yaml
OoO d6d8777e41
All checks were successful
CD Pipeline / deploy (push) Successful in 1m12s
V10.601 收斂 Gemini 與密鑰治理
2026-06-06 14:52:46 +08:00

37 lines
1.1 KiB
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.
# =============================================================================
# WOOO TECH - Momo Pro System
# Kubernetes Secrets
# =============================================================================
# 注意:此檔案僅允許占位符,實際敏感資訊請用 kubectl create secret 或外部 secret manager 注入
# 使用方式kubectl apply -f 03-secrets.yaml -n momo
# =============================================================================
apiVersion: v1
kind: Secret
metadata:
name: momo-secrets
namespace: momo
type: Opaque
stringData:
# 資料庫
DATABASE_URL: "postgresql://<POSTGRES_USER>:<POSTGRES_PASSWORD>@momo-postgres:5432/momo_analytics"
POSTGRES_PASSWORD: "<POSTGRES_PASSWORD>"
# Flask
SECRET_KEY: "<SECRET_KEY>"
LOGIN_PASSWORD: "<LOGIN_PASSWORD>"
# Email
EMAIL_HOST_PASSWORD: "<EMAIL_HOST_PASSWORD>"
# Telegram
TELEGRAM_BOT_TOKEN: "<TELEGRAM_BOT_TOKEN>"
# LINE
LINE_CHANNEL_ACCESS_TOKEN: "<LINE_CHANNEL_ACCESS_TOKEN>"
# Google Gemini AI
GEMINI_API_KEY: "<GEMINI_API_KEY>"
# YouTube API (趨勢爬蟲)
YOUTUBE_API_KEY: "<YOUTUBE_API_KEY>"