Fixes Storage Service Integration
This commit is contained in:
@@ -16,7 +16,7 @@ spec:
|
||||
containers:
|
||||
- name: backend
|
||||
image: yoshiunfriendly/backend-hideyoshi.com
|
||||
imagePullPolicy: "Always"
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 8070
|
||||
env:
|
||||
@@ -155,12 +155,21 @@ spec:
|
||||
name: redis-secret
|
||||
key: redis-password
|
||||
|
||||
- name: STORAGE_SERVICE_PATH
|
||||
- name: STORAGE_SERVICE_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: storage-secret
|
||||
configMapKeyRef:
|
||||
name: storage-config
|
||||
key: storage_url
|
||||
|
||||
- name: STORAGE_SERVICE_PORT
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: storage-config
|
||||
key: storage_port
|
||||
|
||||
- name: STORAGE_SERVICE_PATH
|
||||
value: "http://$(STORAGE_SERVICE_URL):$(STORAGE_SERVICE_PORT)"
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
Reference in New Issue
Block a user