update service name

This commit is contained in:
2026-04-02 09:54:44 +00:00
parent 3be483cff0
commit 051fc27dac

View File

@@ -2,10 +2,10 @@
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: stream.ui-config name: stream-ui-config
namespace: stream-production namespace: stream-production
labels: labels:
app: stream.ui app: stream-ui
data: data:
STREAM_API_GRPC_ADDR: "stream.api-svc:9000" STREAM_API_GRPC_ADDR: "stream.api-svc:9000"
GOOGLE_AUTH_FINALIZE_PATH: "/auth/google/finalize" GOOGLE_AUTH_FINALIZE_PATH: "/auth/google/finalize"
@@ -16,13 +16,13 @@ data:
kind: Service kind: Service
apiVersion: v1 apiVersion: v1
metadata: metadata:
name: stream.ui-svc name: stream-ui-svc
namespace: stream-production namespace: stream-production
labels: labels:
app: stream.ui app: stream-ui
spec: spec:
selector: selector:
app: stream.ui app: stream-ui
ports: ports:
- protocol: TCP - protocol: TCP
port: 80 port: 80
@@ -32,51 +32,51 @@ spec:
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: stream.ui-dep name: stream-ui-dep
namespace: stream-production namespace: stream-production
labels: labels:
app: stream.ui app: stream-ui
spec: spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: stream.ui app: stream-ui
template: template:
metadata: metadata:
labels: labels:
app: stream.ui app: stream-ui
spec: spec:
# imagePullSecrets: # imagePullSecrets:
# - name: registry-production-secret # - name: registry-production-secret
containers: containers:
- name: stream.ui - name: stream-ui
image: registry.awing.vn/stream-production/stream.ui:$BUILD_NUMBER image: registry.awing.vn/stream-production/stream-ui:$BUILD_NUMBER
ports: ports:
- containerPort: 3000 - containerPort: 3000
env: env:
- name: STREAM_API_GRPC_ADDR - name: STREAM_API_GRPC_ADDR
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
name: stream.ui-config name: stream-ui-config
key: STREAM_API_GRPC_ADDR key: STREAM_API_GRPC_ADDR
- name: GOOGLE_AUTH_FINALIZE_PATH - name: GOOGLE_AUTH_FINALIZE_PATH
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
name: stream.ui-config name: stream-ui-config
key: GOOGLE_AUTH_FINALIZE_PATH key: GOOGLE_AUTH_FINALIZE_PATH
- name: STREAM_INTERNAL_AUTH_MARKER - name: STREAM_INTERNAL_AUTH_MARKER
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
name: stream.ui-config name: stream-ui-config
key: STREAM_INTERNAL_AUTH_MARKER key: STREAM_INTERNAL_AUTH_MARKER
- name: STREAM_UI_JWT_SECRET - name: STREAM_UI_JWT_SECRET
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
name: stream.ui-config name: stream-ui-config
key: STREAM_UI_JWT_SECRET key: STREAM_UI_JWT_SECRET
- name: STREAM_UI_REDIS_URL - name: STREAM_UI_REDIS_URL
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
name: stream.ui-config name: stream-ui-config
key: STREAM_UI_REDIS_URL key: STREAM_UI_REDIS_URL