Fixes StorageService Processor
This commit is contained in:
@@ -18,7 +18,6 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: storage-processor
|
- name: storage-processor
|
||||||
image: yoshiunfriendly/storage-hideyoshi.com:latest
|
image: yoshiunfriendly/storage-hideyoshi.com:latest
|
||||||
command: ["./run-queue.sh"]
|
|
||||||
args: ["-q"]
|
args: ["-q"]
|
||||||
imagePullPolicy: "Always"
|
imagePullPolicy: "Always"
|
||||||
resources:
|
resources:
|
||||||
@@ -29,7 +28,25 @@ spec:
|
|||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
env:
|
env:
|
||||||
- name: REDIS_BASE_URL
|
- name: ALLOWED_ORIGINS
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: frontend-secret
|
||||||
|
key: backendUrl
|
||||||
|
|
||||||
|
- name: EXPIRES_IN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: backend-secret
|
||||||
|
key: accessTokenDuration
|
||||||
|
|
||||||
|
- name: SERVER_PORT
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: storage-config
|
||||||
|
key: storage_port
|
||||||
|
|
||||||
|
- name: REDIS_HOST
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
name: redis-config
|
name: redis-config
|
||||||
@@ -47,9 +64,6 @@ spec:
|
|||||||
name: redis-secret
|
name: redis-secret
|
||||||
key: redisPassword
|
key: redisPassword
|
||||||
|
|
||||||
- name: REDIS_URL
|
|
||||||
value: "redis://:$(REDIS_PASSWORD)@$(REDIS_BASE_URL):$(REDIS_PORT)/rq"
|
|
||||||
|
|
||||||
- name: STORAGE_TYPE
|
- name: STORAGE_TYPE
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
Reference in New Issue
Block a user