作者 yangfu
@@ -99,6 +99,16 @@ spec: @@ -99,6 +99,16 @@ spec:
99 value: "true" 99 value: "true"
100 - name: HTTP_PORT 100 - name: HTTP_PORT
101 value: "8082" 101 value: "8082"
  102 + - name: REDIS_HOST
  103 + valueFrom:
  104 + configMapKeyRef:
  105 + name: suplus-config
  106 + key: redis.ip
  107 + - name: REDIS_PORT
  108 + valueFrom:
  109 + configMapKeyRef:
  110 + name: suplus-config
  111 + key: redis.port
102 volumes: 112 volumes:
103 - name: accesslogs 113 - name: accesslogs
104 emptyDir: {} 114 emptyDir: {}