wanjunlei kubesphere/notification-manager-operator:v0.6.0,kubesphere/notification-manager:v0.6.0
配置和接收信息:apiVersion: notification.kubesphere.io/v1alpha1
kind: WechatConfig
metadata:
name: default-wechat-config
namespace: kubesphere-monitoring-system
labels:
app: notification-manager
type: default
spec:
wechatApiUrl: https://qyapi.weixin.qq.com/cgi-bin/
wechatApiSecret:
key: wechat
name: default-wechat-secret
wechatApiCorpId: “ww5fe6fer5b7a28061”
wechatApiAgentId: “1000002”
apiVersion: notification.kubesphere.io/v1alpha1
kind: WechatReceiver
metadata:
name: global-wechat-receiver
namespace: kubesphere-monitoring-system
labels:
app: notification-manager
type: global
spec:
wechatConfigSelector needn’t to be configured for a global receiver
optional
One of toUser, toParty, toParty should be specified.
toUser: global
toParty: global
toTag: global
apiVersion: v1
data:
wechat: dGhpcyBpcyBhIGV4YW1wbGU=
kind: Secret
metadata:
labels:
app: notification-manager
name: default-wechat-secret
namespace: kubesphere-monitoring-system
type: Opaque