@@ -7,7 +7,7 @@ ARG PORT_LOCAL
LABEL tier=frontend
LABEL product=bdtp
-LABEL project=adm-front
+LABEL project=adm-frontend
LABEL name=$PROGRAM_ID
#ENV JAVA_OPTS -Dfile.encoding=UTF-8 -Xms300m -Xmx1024m
@@ -2,12 +2,12 @@
apiVersion: v1
kind: Service
metadata:
- name: adm-front
+ name: adm-frontend
labels:
- app: adm-front
+ app: adm-frontend
spec:
selector:
ports:
- port: 80
targetPort: 80
@@ -17,20 +17,20 @@ spec:
apiVersion: apps/v1
kind: Deployment
replicas: 1
matchLabels:
template:
containers:
- - name: adm-front
- image: labisenlin.persagy.com/library/adm-front:latest
+ - name: adm-frontend
+ image: labisenlin.persagy.com/library/adm-frontend:latest
imagePullPolicy: Always
- containerPort: 80
@@ -2,10 +2,10 @@
kind: ConfigMap
namespace: persagy
data:
nginx.conf: |
#user tony;
@@ -50,7 +50,7 @@ data:
# FMS
location /admplus {
- try_files $uri $uri/ /adm-front/index.html;
+ try_files $uri $uri/ /adm-frontend/index.html;
}
location @rewrites {
@@ -73,7 +73,7 @@ data:
devServer: {
proxy: {
'/admplus': {
- target: 'http://adm-front:8838',
+ target: 'http://adm-frontend:8838',
},