Files
alfred-preferences/Alfred.alfredpreferences/snippets/Kubernetes/Secret YAML 範本 [0D656CA6-3DD1-4CE8-9C0E-D87A6449A8F1].json
2026-03-26 09:22:38 +08:00

8 lines
545 B
JSON
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.
{
"alfredsnippet" : {
"snippet" : "# --- 6. 機密資訊 (Secret) ---\napiVersion: v1\nkind: Secret\nmetadata:\n name: my-app-secret # <--- 名稱\n namespace: default\ntype: Opaque # 一般自定義資料用 Opaque\nstringData: # <--- 用 stringData 可以直接寫明文K8s 會自動幫你轉 Base64\n DB_PASSWORD: \"super_secure_password_123\"\n API_KEY: \"sk-xxxxxxxxxxxxxxxx\"",
"uid" : "0D656CA6-3DD1-4CE8-9C0E-D87A6449A8F1",
"name" : "Secret YAML 範本",
"keyword" : ""
}
}