Compare commits
1 Commits
develop-up
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| c861a3ba7a |
@@ -2,27 +2,24 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: stream-ui-config
|
||||
name: stream.ui-config
|
||||
namespace: stream-production
|
||||
labels:
|
||||
app: stream-ui
|
||||
app: stream.ui
|
||||
data:
|
||||
STREAM_API_GRPC_ADDR: "stream.api-svc:9000"
|
||||
GOOGLE_AUTH_FINALIZE_PATH: "/auth/google/finalize"
|
||||
STREAM_INTERNAL_AUTH_MARKER: "stream_maker_123xxx"
|
||||
STREAM_UI_JWT_SECRET: "xxx_stream_maker_123_xxx"
|
||||
STREAM_UI_REDIS_URL: "redis://:pass123@47.84.62.226:6379/3"
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: stream-ui-svc
|
||||
name: stream.ui-svc
|
||||
namespace: stream-production
|
||||
labels:
|
||||
app: stream-ui
|
||||
app: stream.ui
|
||||
spec:
|
||||
selector:
|
||||
app: stream-ui
|
||||
app: stream.ui
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
@@ -32,51 +29,51 @@ spec:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: stream-ui-dep
|
||||
name: stream.ui-dep
|
||||
namespace: stream-production
|
||||
labels:
|
||||
app: stream-ui
|
||||
app: stream.ui
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: stream-ui
|
||||
app: stream.ui
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: stream-ui
|
||||
app: stream.ui
|
||||
spec:
|
||||
# imagePullSecrets:
|
||||
# - name: registry-production-secret
|
||||
imagePullSecrets:
|
||||
- name: registry-production-secret
|
||||
containers:
|
||||
- name: stream-ui
|
||||
image: registry.awing.vn/stream-production/stream-ui:$BUILD_NUMBER
|
||||
- name: stream.ui
|
||||
image: registry.awing.vn/stream-production/stream.ui:$BUILD_NUMBER
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
env:
|
||||
- name: STREAM_API_GRPC_ADDR
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: stream-ui-config
|
||||
name: stream.ui-config
|
||||
key: STREAM_API_GRPC_ADDR
|
||||
- name: GOOGLE_AUTH_FINALIZE_PATH
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: stream-ui-config
|
||||
name: stream.ui-config
|
||||
key: GOOGLE_AUTH_FINALIZE_PATH
|
||||
- name: STREAM_INTERNAL_AUTH_MARKER
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: stream-ui-config
|
||||
secretKeyRef:
|
||||
name: stream.ui-secret
|
||||
key: STREAM_INTERNAL_AUTH_MARKER
|
||||
- name: STREAM_UI_JWT_SECRET
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: stream-ui-config
|
||||
secretKeyRef:
|
||||
name: stream.ui-secret
|
||||
key: STREAM_UI_JWT_SECRET
|
||||
- name: STREAM_UI_REDIS_URL
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: stream-ui-config
|
||||
secretKeyRef:
|
||||
name: stream.ui-secret
|
||||
key: STREAM_UI_REDIS_URL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user