fix k8s staging

This commit is contained in:
marselinowidis 2023-01-18 12:29:43 +07:00
parent 9e39000483
commit 5840ec682f
4 changed files with 4 additions and 4 deletions

View File

@ -6,4 +6,4 @@ COPY package.json package-lock.json /app/
RUN npm install RUN npm install
COPY . /app COPY . /app
CMD npm run watch CMD npm run watch
EXPOSE 8080 EXPOSE 7700

View File

@ -17,7 +17,7 @@ spec:
- name: bukopin-redemption-client-react - name: bukopin-redemption-client-react
image: registry-harbor.app.bangun-kreatif.com/bukopin/bukopin-redemption-client-react:<VERSION> image: registry-harbor.app.bangun-kreatif.com/bukopin/bukopin-redemption-client-react:<VERSION>
ports: ports:
- containerPort: 8080 - containerPort: 7700
imagePullSecrets: imagePullSecrets:
- name: regcred - name: regcred

View File

@ -18,7 +18,7 @@ spec:
service: service:
name: bukopin-redemption-client-react name: bukopin-redemption-client-react
port: port:
number: 8080 number: 7700
tls: tls:
- hosts: - hosts:
- "bukopin-fe.k3s.bangun-kreatif.com" - "bukopin-fe.k3s.bangun-kreatif.com"

View File

@ -7,7 +7,7 @@ metadata:
run: bukopin-redemption-client-react run: bukopin-redemption-client-react
spec: spec:
ports: ports:
- port: 8080 - port: 7700
protocol: TCP protocol: TCP
selector: selector:
app: bukopin-redemption-client-react app: bukopin-redemption-client-react