diff --git a/manifest/helm-charts/services/charts/openim-msggateway/templates/deployment.yaml b/manifest/helm-charts/services/charts/openim-msggateway/templates/deployment.yaml index ca167caec..6200fbb4b 100644 --- a/manifest/helm-charts/services/charts/openim-msggateway/templates/deployment.yaml +++ b/manifest/helm-charts/services/charts/openim-msggateway/templates/deployment.yaml @@ -47,6 +47,17 @@ spec: port: http resources: {{- toYaml .Values.resources | nindent 12 }} + volumeMounts: + - mountPath: /app/config/config.yaml + name: config + subPath: config.yaml + - mountPath: /app/config/notification.yaml + name: config + subPath: notification.yaml + volumes: + - name: config + configMap: + name: openim-cm {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/manifest/helm-charts/services/charts/openim-msgtransfer/templates/deployment.yaml b/manifest/helm-charts/services/charts/openim-msgtransfer/templates/deployment.yaml index da2575b51..f7ec7bdaf 100644 --- a/manifest/helm-charts/services/charts/openim-msgtransfer/templates/deployment.yaml +++ b/manifest/helm-charts/services/charts/openim-msgtransfer/templates/deployment.yaml @@ -47,6 +47,17 @@ spec: port: http resources: {{- toYaml .Values.resources | nindent 12 }} + volumeMounts: + - mountPath: /app/config/config.yaml + name: config + subPath: config.yaml + - mountPath: /app/config/notification.yaml + name: config + subPath: notification.yaml + volumes: + - name: config + configMap: + name: openim-cm {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/manifest/helm-charts/services/charts/openim-push/templates/deployment.yaml b/manifest/helm-charts/services/charts/openim-push/templates/deployment.yaml index e29e5d0f3..21aa3ccd6 100644 --- a/manifest/helm-charts/services/charts/openim-push/templates/deployment.yaml +++ b/manifest/helm-charts/services/charts/openim-push/templates/deployment.yaml @@ -47,6 +47,17 @@ spec: port: http resources: {{- toYaml .Values.resources | nindent 12 }} + volumeMounts: + - mountPath: /app/config/config.yaml + name: config + subPath: config.yaml + - mountPath: /app/config/notification.yaml + name: config + subPath: notification.yaml + volumes: + - name: config + configMap: + name: openim-cm {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/manifest/helm-charts/services/charts/openim-rpc-auth/templates/deployment.yaml b/manifest/helm-charts/services/charts/openim-rpc-auth/templates/deployment.yaml index 996548949..c13bba76e 100644 --- a/manifest/helm-charts/services/charts/openim-rpc-auth/templates/deployment.yaml +++ b/manifest/helm-charts/services/charts/openim-rpc-auth/templates/deployment.yaml @@ -47,6 +47,17 @@ spec: port: http resources: {{- toYaml .Values.resources | nindent 12 }} + volumeMounts: + - mountPath: /app/config/config.yaml + name: config + subPath: config.yaml + - mountPath: /app/config/notification.yaml + name: config + subPath: notification.yaml + volumes: + - name: config + configMap: + name: openim-cm {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/manifest/helm-charts/services/charts/openim-rpc-conversation/templates/deployment.yaml b/manifest/helm-charts/services/charts/openim-rpc-conversation/templates/deployment.yaml index d142f6026..07c2baa1b 100644 --- a/manifest/helm-charts/services/charts/openim-rpc-conversation/templates/deployment.yaml +++ b/manifest/helm-charts/services/charts/openim-rpc-conversation/templates/deployment.yaml @@ -47,6 +47,17 @@ spec: port: http resources: {{- toYaml .Values.resources | nindent 12 }} + volumeMounts: + - mountPath: /app/config/config.yaml + name: config + subPath: config.yaml + - mountPath: /app/config/notification.yaml + name: config + subPath: notification.yaml + volumes: + - name: config + configMap: + name: openim-cm {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/manifest/helm-charts/services/charts/openim-rpc-friend/templates/deployment.yaml b/manifest/helm-charts/services/charts/openim-rpc-friend/templates/deployment.yaml index 916313dc5..c9c25a55c 100644 --- a/manifest/helm-charts/services/charts/openim-rpc-friend/templates/deployment.yaml +++ b/manifest/helm-charts/services/charts/openim-rpc-friend/templates/deployment.yaml @@ -47,6 +47,17 @@ spec: port: http resources: {{- toYaml .Values.resources | nindent 12 }} + volumeMounts: + - mountPath: /app/config/config.yaml + name: config + subPath: config.yaml + - mountPath: /app/config/notification.yaml + name: config + subPath: notification.yaml + volumes: + - name: config + configMap: + name: openim-cm {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/manifest/helm-charts/services/charts/openim-rpc-group/templates/deployment.yaml b/manifest/helm-charts/services/charts/openim-rpc-group/templates/deployment.yaml index 156aaff3a..9538962e3 100644 --- a/manifest/helm-charts/services/charts/openim-rpc-group/templates/deployment.yaml +++ b/manifest/helm-charts/services/charts/openim-rpc-group/templates/deployment.yaml @@ -47,6 +47,17 @@ spec: port: http resources: {{- toYaml .Values.resources | nindent 12 }} + volumeMounts: + - mountPath: /app/config/config.yaml + name: config + subPath: config.yaml + - mountPath: /app/config/notification.yaml + name: config + subPath: notification.yaml + volumes: + - name: config + configMap: + name: openim-cm {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/manifest/helm-charts/services/charts/openim-rpc-msg/templates/deployment.yaml b/manifest/helm-charts/services/charts/openim-rpc-msg/templates/deployment.yaml index 2bd486b9c..f15ca3052 100644 --- a/manifest/helm-charts/services/charts/openim-rpc-msg/templates/deployment.yaml +++ b/manifest/helm-charts/services/charts/openim-rpc-msg/templates/deployment.yaml @@ -47,6 +47,17 @@ spec: port: http resources: {{- toYaml .Values.resources | nindent 12 }} + volumeMounts: + - mountPath: /app/config/config.yaml + name: config + subPath: config.yaml + - mountPath: /app/config/notification.yaml + name: config + subPath: notification.yaml + volumes: + - name: config + configMap: + name: openim-cm {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/manifest/helm-charts/services/charts/openim-rpc-third/templates/deployment.yaml b/manifest/helm-charts/services/charts/openim-rpc-third/templates/deployment.yaml index 54f2c9e4e..54a85c61d 100644 --- a/manifest/helm-charts/services/charts/openim-rpc-third/templates/deployment.yaml +++ b/manifest/helm-charts/services/charts/openim-rpc-third/templates/deployment.yaml @@ -47,6 +47,17 @@ spec: port: http resources: {{- toYaml .Values.resources | nindent 12 }} + volumeMounts: + - mountPath: /app/config/config.yaml + name: config + subPath: config.yaml + - mountPath: /app/config/notification.yaml + name: config + subPath: notification.yaml + volumes: + - name: config + configMap: + name: openim-cm {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/manifest/helm-charts/services/charts/openim-rpc-user/templates/deployment.yaml b/manifest/helm-charts/services/charts/openim-rpc-user/templates/deployment.yaml index b839e6e93..b907a9447 100644 --- a/manifest/helm-charts/services/charts/openim-rpc-user/templates/deployment.yaml +++ b/manifest/helm-charts/services/charts/openim-rpc-user/templates/deployment.yaml @@ -47,6 +47,17 @@ spec: port: http resources: {{- toYaml .Values.resources | nindent 12 }} + volumeMounts: + - mountPath: /app/config/config.yaml + name: config + subPath: config.yaml + - mountPath: /app/config/notification.yaml + name: config + subPath: notification.yaml + volumes: + - name: config + configMap: + name: openim-cm {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/manifest/helm-charts/services/templates/deployment.yaml b/manifest/helm-charts/services/templates/deployment.yaml index ef8a63ec2..eb10d4f43 100644 --- a/manifest/helm-charts/services/templates/deployment.yaml +++ b/manifest/helm-charts/services/templates/deployment.yaml @@ -48,16 +48,16 @@ spec: resources: {{- toYaml .Values.resources | nindent 12 }} volumeMounts: - - mountPath: /openim/openim-server/config/config.yaml + - mountPath: /app/config/config.yaml name: config subPath: config.yaml - - mountPath: /openim/openim-server/config/notification.yaml + - mountPath: /app/config/notification.yaml name: config subPath: notification.yaml volumes: - - name: config - configMap: - name: openim-cm + - name: config + configMap: + name: openim-cm {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}