diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 09da4a3..89be360 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,3 +1,3 @@ apiVersion: v2 name: kubooboo-chart -version: 0.1.7 \ No newline at end of file +version: 0.1.8 \ No newline at end of file diff --git a/chart/templates/frontend/deployment.yaml b/chart/templates/frontend/deployment.yaml index 6f485e1..ba71dcd 100644 --- a/chart/templates/frontend/deployment.yaml +++ b/chart/templates/frontend/deployment.yaml @@ -24,4 +24,7 @@ spec: memory: "128Mi" image: harbor.dinauer.dev/kubooboo/frontend:8 ports: - - containerPort: 3000 \ No newline at end of file + - containerPort: 3000 + env: + - name: NUXT_PUBLIC_API_BASE + value: https://kubooboo.dinauer.dev/api \ No newline at end of file diff --git a/chart/templates/ingress.yaml b/chart/templates/ingress.yaml index f0733db..dade137 100644 --- a/chart/templates/ingress.yaml +++ b/chart/templates/ingress.yaml @@ -15,5 +15,12 @@ spec: backend: service: name: frontend + port: + number: 80 + - path: /api + pathType: Prefix + backend: + service: + name: backend port: number: 80 \ No newline at end of file