作者 Administrator

更新 sg-storage.yaml

@@ -67,7 +67,7 @@ spec: @@ -67,7 +67,7 @@ spec:
67 - name: ERROR_BASE_CODE_MULTIPLE 67 - name: ERROR_BASE_CODE_MULTIPLE
68 value: "1000" 68 value: "1000"
69 - name: POSTGRESQL_DB_NAME 69 - name: POSTGRESQL_DB_NAME
70 - value: "sg_storage_local" 70 + value: "performance_test"
71 - name: ENABLE_HTTPS 71 - name: ENABLE_HTTPS
72 value: "true" 72 value: "true"
73 - name: POSTGRESQL_USER 73 - name: POSTGRESQL_USER
@@ -100,6 +100,16 @@ spec: @@ -100,6 +100,16 @@ spec:
100 configMapKeyRef: 100 configMapKeyRef:
101 name: suplus-config 101 name: suplus-config
102 key: redis.port 102 key: redis.port
  103 + - name: KAFKA_HOSTS
  104 + valueFrom:
  105 + configMapKeyRef:
  106 + name: suplus-config
  107 + key: kafka.host
  108 + - name: KAFKA_PERFORMANCE_ID
  109 + valueFrom:
  110 + configMapKeyRef:
  111 + name: suplus-config
  112 + key: kafkaperformance.id
103 volumes: 113 volumes:
104 - name: accesslogs 114 - name: accesslogs
105 emptyDir: {} 115 emptyDir: {}