mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-26 21:22:16 +08:00
build: add kafka secret and dependencies.
This commit is contained in:
parent
8213948d89
commit
742a611d27
7
deployments/deploy/kafka-secret.yml
Normal file
7
deployments/deploy/kafka-secret.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: openim-kafka-secret
|
||||||
|
type: Opaque
|
||||||
|
data:
|
||||||
|
kafka-password: ""
|
||||||
@ -33,6 +33,11 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: openim-mongo-secret
|
name: openim-mongo-secret
|
||||||
key: mongo_openim_password
|
key: mongo_openim_password
|
||||||
|
- name: IMENV_KAFKA_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: openim-kafka-secret
|
||||||
|
key: kafka-password
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: openim-config
|
- name: openim-config
|
||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
|
|||||||
@ -23,6 +23,11 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: openim-redis-secret
|
name: openim-redis-secret
|
||||||
key: redis-password
|
key: redis-password
|
||||||
|
- name: IMENV_KAFKA_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: openim-kafka-secret
|
||||||
|
key: kafka-password
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: openim-config
|
- name: openim-config
|
||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
|
|||||||
@ -33,6 +33,11 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: openim-mongo-secret
|
name: openim-mongo-secret
|
||||||
key: mongo_openim_password
|
key: mongo_openim_password
|
||||||
|
- name: IMENV_KAFKA_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: openim-kafka-secret
|
||||||
|
key: kafka-password
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: openim-config
|
- name: openim-config
|
||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
|
|||||||
@ -33,6 +33,11 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: openim-mongo-secret
|
name: openim-mongo-secret
|
||||||
key: mongo_openim_password
|
key: mongo_openim_password
|
||||||
|
- name: IMENV_KAFKA_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: openim-kafka-secret
|
||||||
|
key: kafka-password
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: openim-config
|
- name: openim-config
|
||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user