|
本文档采用自动化机器翻译技术翻译。 尽管我们力求提供准确的译文,但不对翻译内容的完整性、准确性或可靠性作出任何保证。 若出现任何内容不一致情况,请以原始 英文 版本为准,且原始英文版本为权威文本。 |
外部密文
从外部密钥获取许可证密钥
在 SUSE Observability 安装的名称空间中创建一个密钥,格式如下,填写空白部分:
kind: Secret
metadata:
name: "<custom-secret-name>"
type: Opaque
data:
LICENSE_KEY: "<base64 of the license key>"
在您的 helm 安装命令中添加以下内容以使用该密钥:
--set 'stackstate.license.fromExternalSecret'='<custom-secret-name>'
从外部密钥获取电子邮件通知的用户名和密码
在 SUSE Observability 安装的名称空间中创建一个密钥,格式如下,填写空白部分:
kind: Secret
metadata:
name: "<custom-secret-name>"
type: Opaque
data:
SMTP_USER_NAME: "<base64 of the smtp username>"
SMTP_PASSWORD: "<base64 of the smtp password>"
在您的 helm 安装命令中添加以下内容以使用该密钥:
--set 'stackstate.email.server.auth.fromExternalSecret'='<custom-secret-name>'
从外部密钥获取 API 密钥
在 SUSE Observability 安装的名称空间中创建一个密钥,格式如下,填写空白部分:
kind: Secret
metadata:
name: "<custom-secret-name>"
type: Opaque
data:
API_KEY: "<base64 of the API key>"
在您的 helm 安装命令中添加以下内容以使用该密钥:
--set 'stackstate.apiKey.fromExternalSecret'='<custom-secret-name>'