Skip to content

Commit

Permalink
fix: add helm namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
lazhenyi committed Oct 18, 2024
1 parent 387d314 commit 435dd18
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: jzconsole-deployment
namespace: jiaozifs
labels:
apptype: jzconsole
spec:
Expand Down
1 change: 1 addition & 0 deletions chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: jzconsole
namespace: jiaozifs
annotations:
meta.helm.sh/release-name: jzconsole
nginx.ingress.kubernetes.io/rewrite-target: /
Expand Down
1 change: 1 addition & 0 deletions chart/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: jzconsole-service
namespace: jiaozifs
labels:
apptype: jzconsole
spec:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"scripts": {
"dev": "vite",
"build": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build",
"docker": "docker build -t gitdatateam/jiaozifs-ui:latest . && docker push gitdatateam/jiaozifs-ui:latest",
"docker-test": "docker build -t gitdatateam/jiaozifs-ui:test . && docker push gitdatateam/jiaozifs-ui:test",
"docker": "docker build -t gitdatateam/jzconsole:latest . && docker push gitdatateam/jzconsole:latest",
"docker-test": "docker build -t gitdatateam/jzconsole:test . && docker push gitdatateam/jzconsole:test",
"serve": "vite preview",
"test": "vitest run",
"coverage": "vitest --coverage && codecov",
Expand Down

0 comments on commit 435dd18

Please sign in to comment.