remove notfication config.

pull/2919/head
Monet Lee 10 months ago
parent 248ce35881
commit 472f4a28df

@ -22,10 +22,6 @@ spec:
- name: openim-config - name: openim-config
mountPath: "/config" mountPath: "/config"
readOnly: true readOnly: true
- name: notification-config
mountPath: "/config/notification.yml"
subPath: notification.yml
readOnly: true
ports: ports:
- containerPort: 10002 - containerPort: 10002
- containerPort: 12002 - containerPort: 12002
@ -33,6 +29,3 @@ spec:
- name: openim-config - name: openim-config
configMap: configMap:
name: openim-config name: openim-config
- name: notification-config
configMap:
name: notification-config

@ -14,11 +14,11 @@ data:
password: '' password: ''
rpcService: rpcService:
messageGateway: messageGateway-rpc-service
user: user-rpc-service user: user-rpc-service
friend: friend-rpc-service friend: friend-rpc-service
msg: msg-rpc-service msg: msg-rpc-service
push: push-rpc-service push: push-rpc-service
messageGateway: messageGateway-rpc-service
group: group-rpc-service group: group-rpc-service
auth: auth-rpc-service auth: auth-rpc-service
conversation: conversation-rpc-service conversation: conversation-rpc-service
@ -166,50 +166,51 @@ data:
openim-push.yml: | openim-push.yml: |
rpc: rpc:
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP # The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
registerIP: registerIP:
# IP address that the RPC service listens on; setting to 0.0.0.0 listens on both internal and external IPs. If left blank, it automatically uses the internal network IP # IP address that the RPC service listens on; setting to 0.0.0.0 listens on both internal and external IPs. If left blank, it automatically uses the internal network IP
listenIP: 0.0.0.0 listenIP: 0.0.0.0
# autoSetPorts indicates whether to automatically set the ports # autoSetPorts indicates whether to automatically set the ports
# if you use in kubernetes, set it to false # if you use in kubernetes, set it to false
autoSetPorts: true autoSetPorts: false
# List of ports that the RPC service listens on; configuring multiple ports will launch multiple instances. These must match the number of configured prometheus ports # List of ports that the RPC service listens on; configuring multiple ports will launch multiple instances. These must match the number of configured prometheus ports
# It will only take effect when autoSetPorts is set to false. # It will only take effect when autoSetPorts is set to false.
ports: [ 10170 ] ports: [ 10170 ]
prometheus:
# Enable or disable Prometheus monitoring prometheus:
enable: true # Enable or disable Prometheus monitoring
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup enable: true
ports: [ 12170 ] # List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
ports: [ 12170 ]
maxConcurrentWorkers: 3
#Use geTui for offline push notifications, or choose fcm or jpns; corresponding configuration settings must be specified. maxConcurrentWorkers: 3
enable: geTui #Use geTui for offline push notifications, or choose fcm or jpns; corresponding configuration settings must be specified.
geTui: enable:
pushUrl: https://restapi.getui.com/v2/$appId geTui:
masterSecret: pushUrl: https://restapi.getui.com/v2/$appId
appKey: masterSecret:
intent: appKey:
channelID: intent:
channelName: channelID:
fcm: channelName:
# Prioritize using file paths. If the file path is empty, use URL fcm:
filePath: # File path is concatenated with the parameters passed in through - c(`mage` default pass in `config/`) and filePath. # Prioritize using file paths. If the file path is empty, use URL
authURL: # Must start with https or http. filePath: # File path is concatenated with the parameters passed in through - c(`mage` default pass in `config/`) and filePath.
jpns: authURL: # Must start with https or http.
appKey: jpush:
masterSecret: appKey:
pushURL: masterSecret:
pushIntent: pushURL:
pushIntent:
# iOS system push sound and badge count
iosPush: # iOS system push sound and badge count
pushSound: xxx iosPush:
badgeCount: true pushSound: xxx
production: false badgeCount: true
production: false
fullUserCache: true
fullUserCache: true
openim-rpc-auth.yml: | openim-rpc-auth.yml: |
rpc: rpc:
@ -245,7 +246,7 @@ data:
autoSetPorts: false autoSetPorts: false
# List of ports that the RPC service listens on; configuring multiple ports will launch multiple instances. These must match the number of configured prometheus ports # List of ports that the RPC service listens on; configuring multiple ports will launch multiple instances. These must match the number of configured prometheus ports
# It will only take effect when autoSetPorts is set to false. # It will only take effect when autoSetPorts is set to false.
ports: [ 10200 ] ports: [ 10220 ]
prometheus: prometheus:
# Enable or disable Prometheus monitoring # Enable or disable Prometheus monitoring
@ -449,330 +450,330 @@ data:
# Flag to enable or disable public read access to the bucket # Flag to enable or disable public read access to the bucket
publicRead: "false" publicRead: "false"
# notification.yml: | notification.yml: |
# groupCreated: groupCreated:
# isSendMsg: true isSendMsg: true
# # Reliability level of the message sending. # Reliability level of the message sending.
# # Set to 1 to send only when online, 2 for guaranteed delivery. # Set to 1 to send only when online, 2 for guaranteed delivery.
# reliabilityLevel: 1 reliabilityLevel: 1
# # This setting is effective only when 'isSendMsg' is true. # This setting is effective only when 'isSendMsg' is true.
# # It controls whether to count unread messages. # It controls whether to count unread messages.
# unreadCount: false unreadCount: false
# # Configuration for offline push notifications. # Configuration for offline push notifications.
# offlinePush: offlinePush:
# # Enables or disables offline push notifications. # Enables or disables offline push notifications.
# enable: false enable: false
# # Title for the notification when a group is created. # Title for the notification when a group is created.
# title: create group title title: create group title
# # Description for the notification. # Description for the notification.
# desc: create group desc desc: create group desc
# # Additional information for the notification. # Additional information for the notification.
# ext: create group ext ext: create group ext
# groupInfoSet: groupInfoSet:
# isSendMsg: false isSendMsg: false
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: groupInfoSet title title: groupInfoSet title
# desc: groupInfoSet desc desc: groupInfoSet desc
# ext: groupInfoSet ext ext: groupInfoSet ext
# joinGroupApplication: joinGroupApplication:
# isSendMsg: false isSendMsg: false
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: joinGroupApplication title title: joinGroupApplication title
# desc: joinGroupApplication desc desc: joinGroupApplication desc
# ext: joinGroupApplication ext ext: joinGroupApplication ext
# memberQuit: memberQuit:
# isSendMsg: true isSendMsg: true
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: memberQuit title title: memberQuit title
# desc: memberQuit desc desc: memberQuit desc
# ext: memberQuit ext ext: memberQuit ext
# groupApplicationAccepted: groupApplicationAccepted:
# isSendMsg: false isSendMsg: false
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: groupApplicationAccepted title title: groupApplicationAccepted title
# desc: groupApplicationAccepted desc desc: groupApplicationAccepted desc
# ext: groupApplicationAccepted ext ext: groupApplicationAccepted ext
# groupApplicationRejected: groupApplicationRejected:
# isSendMsg: false isSendMsg: false
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: groupApplicationRejected title title: groupApplicationRejected title
# desc: groupApplicationRejected desc desc: groupApplicationRejected desc
# ext: groupApplicationRejected ext ext: groupApplicationRejected ext
# groupOwnerTransferred: groupOwnerTransferred:
# isSendMsg: true isSendMsg: true
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: groupOwnerTransferred title title: groupOwnerTransferred title
# desc: groupOwnerTransferred desc desc: groupOwnerTransferred desc
# ext: groupOwnerTransferred ext ext: groupOwnerTransferred ext
# memberKicked: memberKicked:
# isSendMsg: true isSendMsg: true
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: memberKicked title title: memberKicked title
# desc: memberKicked desc desc: memberKicked desc
# ext: memberKicked ext ext: memberKicked ext
# memberInvited: memberInvited:
# isSendMsg: true isSendMsg: true
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: memberInvited title title: memberInvited title
# desc: memberInvited desc desc: memberInvited desc
# ext: memberInvited ext ext: memberInvited ext
# memberEnter: memberEnter:
# isSendMsg: true isSendMsg: true
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: memberEnter title title: memberEnter title
# desc: memberEnter desc desc: memberEnter desc
# ext: memberEnter ext ext: memberEnter ext
# groupDismissed: groupDismissed:
# isSendMsg: true isSendMsg: true
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: groupDismissed title title: groupDismissed title
# desc: groupDismissed desc desc: groupDismissed desc
# ext: groupDismissed ext ext: groupDismissed ext
# groupMuted: groupMuted:
# isSendMsg: true isSendMsg: true
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: groupMuted title title: groupMuted title
# desc: groupMuted desc desc: groupMuted desc
# ext: groupMuted ext ext: groupMuted ext
# groupCancelMuted: groupCancelMuted:
# isSendMsg: true isSendMsg: true
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: groupCancelMuted title title: groupCancelMuted title
# desc: groupCancelMuted desc desc: groupCancelMuted desc
# ext: groupCancelMuted ext ext: groupCancelMuted ext
# defaultTips: defaultTips:
# tips: group Cancel Muted tips: group Cancel Muted
# groupMemberMuted: groupMemberMuted:
# isSendMsg: true isSendMsg: true
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: groupMemberMuted title title: groupMemberMuted title
# desc: groupMemberMuted desc desc: groupMemberMuted desc
# ext: groupMemberMuted ext ext: groupMemberMuted ext
# groupMemberCancelMuted: groupMemberCancelMuted:
# isSendMsg: true isSendMsg: true
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: groupMemberCancelMuted title title: groupMemberCancelMuted title
# desc: groupMemberCancelMuted desc desc: groupMemberCancelMuted desc
# ext: groupMemberCancelMuted ext ext: groupMemberCancelMuted ext
# groupMemberInfoSet: groupMemberInfoSet:
# isSendMsg: false isSendMsg: false
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: groupMemberInfoSet title title: groupMemberInfoSet title
# desc: groupMemberInfoSet desc desc: groupMemberInfoSet desc
# ext: groupMemberInfoSet ext ext: groupMemberInfoSet ext
# groupInfoSetAnnouncement: groupInfoSetAnnouncement:
# isSendMsg: true isSendMsg: true
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: groupInfoSetAnnouncement title title: groupInfoSetAnnouncement title
# desc: groupInfoSetAnnouncement desc desc: groupInfoSetAnnouncement desc
# ext: groupInfoSetAnnouncement ext ext: groupInfoSetAnnouncement ext
# groupInfoSetName: groupInfoSetName:
# isSendMsg: true isSendMsg: true
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: groupInfoSetName title title: groupInfoSetName title
# desc: groupInfoSetName desc desc: groupInfoSetName desc
# ext: groupInfoSetName ext ext: groupInfoSetName ext
# #############################friend################################# #############################friend#################################
# friendApplicationAdded: friendApplicationAdded:
# isSendMsg: false isSendMsg: false
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: Somebody applies to add you as a friend title: Somebody applies to add you as a friend
# desc: Somebody applies to add you as a friend desc: Somebody applies to add you as a friend
# ext: Somebody applies to add you as a friend ext: Somebody applies to add you as a friend
# friendApplicationApproved: friendApplicationApproved:
# isSendMsg: true isSendMsg: true
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: true enable: true
# title: Someone applies to add your friend application title: Someone applies to add your friend application
# desc: Someone applies to add your friend application desc: Someone applies to add your friend application
# ext: Someone applies to add your friend application ext: Someone applies to add your friend application
# friendApplicationRejected: friendApplicationRejected:
# isSendMsg: false isSendMsg: false
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: true enable: true
# title: Someone rejected your friend application title: Someone rejected your friend application
# desc: Someone rejected your friend application desc: Someone rejected your friend application
# ext: Someone rejected your friend application ext: Someone rejected your friend application
# friendAdded: friendAdded:
# isSendMsg: false isSendMsg: false
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: true enable: true
# title: We have become friends title: We have become friends
# desc: We have become friends desc: We have become friends
# ext: We have become friends ext: We have become friends
# friendDeleted: friendDeleted:
# isSendMsg: false isSendMsg: false
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: true enable: true
# title: deleted a friend title: deleted a friend
# desc: deleted a friend desc: deleted a friend
# ext: deleted a friend ext: deleted a friend
# friendRemarkSet: friendRemarkSet:
# isSendMsg: false isSendMsg: false
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: true enable: true
# title: Your friend's profile has been changed title: Your friend's profile has been changed
# desc: Your friend's profile has been changed desc: Your friend's profile has been changed
# ext: Your friend's profile has been changed ext: Your friend's profile has been changed
# blackAdded: blackAdded:
# isSendMsg: false isSendMsg: false
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: true enable: true
# title: blocked a user title: blocked a user
# desc: blocked a user desc: blocked a user
# ext: blocked a user ext: blocked a user
# blackDeleted: blackDeleted:
# isSendMsg: false isSendMsg: false
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: true enable: true
# title: Remove a blocked user title: Remove a blocked user
# desc: Remove a blocked user desc: Remove a blocked user
# ext: Remove a blocked user ext: Remove a blocked user
# friendInfoUpdated: friendInfoUpdated:
# isSendMsg: false isSendMsg: false
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: true enable: true
# title: friend info updated title: friend info updated
# desc: friend info updated desc: friend info updated
# ext: friend info updated ext: friend info updated
# #####################user######################### #####################user#########################
# userInfoUpdated: userInfoUpdated:
# isSendMsg: false isSendMsg: false
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: true enable: true
# title: userInfo updated title: userInfo updated
# desc: userInfo updated desc: userInfo updated
# ext: userInfo updated ext: userInfo updated
# userStatusChanged: userStatusChanged:
# isSendMsg: false isSendMsg: false
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: false enable: false
# title: user status changed title: user status changed
# desc: user status changed desc: user status changed
# ext: user status changed ext: user status changed
# #####################conversation######################### #####################conversation#########################
# conversationChanged: conversationChanged:
# isSendMsg: false isSendMsg: false
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: true enable: true
# title: conversation changed title: conversation changed
# desc: conversation changed desc: conversation changed
# ext: conversation changed ext: conversation changed
# conversationSetPrivate: conversationSetPrivate:
# isSendMsg: true isSendMsg: true
# reliabilityLevel: 1 reliabilityLevel: 1
# unreadCount: false unreadCount: false
# offlinePush: offlinePush:
# enable: true enable: true
# title: burn after reading title: burn after reading
# desc: burn after reading desc: burn after reading
# ext: burn after reading ext: burn after reading
prometheus.yml: | prometheus.yml: |
# my global config # my global config

@ -27,10 +27,6 @@ spec:
- name: openim-config - name: openim-config
mountPath: "/config" mountPath: "/config"
readOnly: true readOnly: true
- name: notification-config
mountPath: "/config/notification.yml"
subPath: notification.yml
readOnly: true
ports: ports:
- containerPort: 10170 - containerPort: 10170
- containerPort: 12170 - containerPort: 12170
@ -38,6 +34,3 @@ spec:
- name: openim-config - name: openim-config
configMap: configMap:
name: openim-config name: openim-config
- name: notification-config
configMap:
name: notification-config

@ -33,10 +33,6 @@ spec:
- name: openim-config - name: openim-config
mountPath: "/config" mountPath: "/config"
readOnly: true readOnly: true
- name: notification-config
mountPath: "/config/notification.yml"
subPath: notification.yml
readOnly: true
ports: ports:
- containerPort: 10220 - containerPort: 10220
- containerPort: 12220 - containerPort: 12220
@ -44,6 +40,3 @@ spec:
- name: openim-config - name: openim-config
configMap: configMap:
name: openim-config name: openim-config
- name: notification-config
configMap:
name: notification-config

@ -32,10 +32,6 @@ spec:
- name: openim-config - name: openim-config
mountPath: "/config" mountPath: "/config"
readOnly: true readOnly: true
- name: notification-config
mountPath: "/config/notification.yml"
subPath: notification.yml
readOnly: true
ports: ports:
- containerPort: 10240 - containerPort: 10240
- containerPort: 12240 - containerPort: 12240
@ -43,6 +39,3 @@ spec:
- name: openim-config - name: openim-config
configMap: configMap:
name: openim-config name: openim-config
- name: notification-config
configMap:
name: notification-config

@ -33,10 +33,6 @@ spec:
- name: openim-config - name: openim-config
mountPath: "/config" mountPath: "/config"
readOnly: true readOnly: true
- name: notification-config
mountPath: "/config/notification.yml"
subPath: notification.yml
readOnly: true
ports: ports:
- containerPort: 10260 - containerPort: 10260
- containerPort: 12260 - containerPort: 12260
@ -44,6 +40,3 @@ spec:
- name: openim-config - name: openim-config
configMap: configMap:
name: openim-config name: openim-config
- name: notification-config
configMap:
name: notification-config

@ -32,10 +32,6 @@ spec:
- name: openim-config - name: openim-config
mountPath: "/config" mountPath: "/config"
readOnly: true readOnly: true
- name: notification-config
mountPath: "/config/notification.yml"
subPath: notification.yml
readOnly: true
ports: ports:
- containerPort: 10280 - containerPort: 10280
- containerPort: 12280 - containerPort: 12280
@ -43,6 +39,3 @@ spec:
- name: openim-config - name: openim-config
configMap: configMap:
name: openim-config name: openim-config
- name: notification-config
configMap:
name: notification-config

@ -42,10 +42,6 @@ spec:
- name: openim-config - name: openim-config
mountPath: "/config" mountPath: "/config"
readOnly: true readOnly: true
- name: notification-config
mountPath: "/config/notification.yml"
subPath: notification.yml
readOnly: true
ports: ports:
- containerPort: 10300 - containerPort: 10300
- containerPort: 12300 - containerPort: 12300
@ -53,6 +49,3 @@ spec:
- name: openim-config - name: openim-config
configMap: configMap:
name: openim-config name: openim-config
- name: notification-config
configMap:
name: notification-config

@ -32,10 +32,6 @@ spec:
- name: openim-config - name: openim-config
mountPath: "/config" mountPath: "/config"
readOnly: true readOnly: true
- name: notification-config
mountPath: "/config/notification.yml"
subPath: notification.yml
readOnly: true
ports: ports:
- containerPort: 10320 - containerPort: 10320
- containerPort: 12320 - containerPort: 12320
@ -43,6 +39,3 @@ spec:
- name: openim-config - name: openim-config
configMap: configMap:
name: openim-config name: openim-config
- name: notification-config
configMap:
name: notification-config

Loading…
Cancel
Save