外部密文
从外部密钥获取许可证密钥
在 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>'