Files
kuboard-press/learning/k8s-intermediate/config/secrets/create-kuboard.md
huanqing.shao c0cdcc0de0 v3.1.1.0
2021-04-05 13:09:28 +08:00

32 lines
1.1 KiB
Markdown
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.

---
vssueId: 86
layout: LearningLayout
description: Kubernetes教程_在Kubernetes中_使用Kuboard创建Secret
meta:
- name: keywords
content: Kubernetes教程,K8S教程,Kubernetes入门,K8S入门,创建Secret
---
# 创建Secret使用Kuboard
<AdSenseTitle/>
本文简要描述如何在 Kuboard 中创建 Kubernetes Secret。
* Kubernetes Secret 必须从属于某一个名称空间,进入 Kuboard 名称空间界面,在菜单中导航到 ***配置中心*** / ***密 文***,如下图所示:
![Kubernetes教程_使用Kuboard创建Secret](./create-kuboard.assets/image-20210404222214169.png)
* 点击 **创建 Secret** 按钮,可显示 Secret 的创建界面,如下图所示:
![Kubernetes教程_使用Kuboard创建Secret](./create-kuboard.assets/image-20210404222346834.png)
* 可以创建的 Secret 类型有:
* docker 仓库密码
* Opaque (可自定义 key / value)
* TLS (可存放 HTTPS 证书等)
* 可以显示的 Secret 类型有:
* Service Account Token (通常由系统创建)
* Bootstrap Token (通常由系统创建)