diff --git a/.drone.yml b/.drone.yml index ae42048..5606aa1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ kind: pipeline type: docker -name: fateverse-vue +name: mosr-web platform: os: linux arch: arm64 @@ -71,12 +71,12 @@ steps: path: /app/config # 将kubectl 配置文件挂载出来 commands: # 定义在Docker容器中执行的shell命令 # 将deployment中定义的变量替换为drone中的内置变量 - - kubectl apply -f deployment.yml -n fateverse --kubeconfig=/app/config/base-taishan-kubectl.yml + - kubectl apply -f deployment.yml -n mosr --kubeconfig=/app/config/base-taishan-kubectl.yml volumes: - name: cache host: - path: /home/npm/cache + path: /home/npm/mosr-web - name: config # k8s对接的配置文件 host: path: /home/kubect diff --git a/nginx.conf b/nginx.conf index 99fe18a..899dd17 100644 --- a/nginx.conf +++ b/nginx.conf @@ -30,7 +30,7 @@ http { listen [::]:80; location /api { - proxy_pass http://gateway.fateverse.svc.cluster.local:8080; + proxy_pass http://gateway.mosr.svc.cluster.local:8080; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Port $server_port;