Files
2026-03-27 16:58:41 +08:00

10 lines
399 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.
# 示例:勿将真实密钥提交到公开仓库。对应 docs/04-03 Secret 示意。
apiVersion: v1 # Secret API 版本
kind: Secret # 密钥资源
metadata: # Secret 元信息
name: nodejs-demo-secret # Secret 名称
namespace: default # 命名空间
stringData: # 明文键值(创建时会转换为 data
API_TOKEN: "replace-me" # 示例 token请替换勿提交真实密钥