Fixes Storage Service Integration

This commit is contained in:
2023-08-23 18:48:11 -03:00
parent e4b637e07e
commit 338e33401a
7 changed files with 27 additions and 43 deletions

View File

@@ -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