Skip to content

Commit 7e7fe7b

Browse files
Merge pull request #65 from AET-DevOps26/feature/shopping-list-ui
Feature/shopping list UI
2 parents a647735 + 8b49d6a commit 7e7fe7b

43 files changed

Lines changed: 1796 additions & 144 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.

.github/workflows/deploy-k8s.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,6 @@ jobs:
6363
--set genai.image.tag=${{ steps.vars.outputs.image_tag }} \
6464
--set genai.logosKey="${{ secrets.LOGOS_KEY }}" \
6565
--set genai.openaiApiKey="${{ secrets.OPENAI_API_KEY }}" \
66+
--set userDb.password="${{ secrets.USER_DB_PASSWORD }}" \
67+
--set groceryDb.password="${{ secrets.GROCERY_DB_PASSWORD }}" \
6668
--atomic

README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,8 @@ The UI includes the User Service, Grocery Service, and Gen AI Service OpenAPI de
125125
Requires Docker Desktop running.
126126

127127
```powershell
128-
$env:LOGOS_KEY="..."
129-
$env:OPENAI_API_KEY="sk-..." # optional, only needed for the OpenAI switch
130128
docker compose up --build
129+
docker compose down # To take down later
131130
```
132131

133132
Open http://localhost:8081
@@ -139,8 +138,17 @@ Drop `--build` on subsequent starts if nothing has changed. To stop: `docker com
139138
### Kubernetes
140139

141140
#### Local Kubernetes Deployment
142-
...
143141

142+
Requires a local Kubernetes cluster running via Docker Desktop.
143+
144+
```powershell
145+
kubectl config use-context docker-desktop
146+
kubectl create namespace team-bytebite
147+
helm upgrade --install bytebite ./helm/bytebite -f ./helm/bytebite/values-local.yaml --namespace team-bytebite --set genai.openaiApiKey="sk-..." --atomic
148+
helm uninstall bytebite --namespace team-bytebite # To take down later
149+
```
150+
151+
Open http://localhost:80
144152

145153
#### Kubernetes Deployment to the AET cluster
146154

@@ -156,11 +164,9 @@ Alternatively, you can do manual deployment with Helm:
156164
(Requires `helm` and a valid kubeconfig)
157165

158166
```bash
159-
helm upgrade --install bytebite ./helm/bytebite \
160-
--namespace team-bytebite \
161-
--set genai.logosKey="..." \
162-
--set genai.openaiApiKey="sk-..." \
163-
--atomic
167+
kubectl config use-context stud
168+
helm upgrade --install bytebite ./helm/bytebite --namespace team-bytebite --set genai.openaiApiKey="sk-..." --atomic
169+
helm uninstall bytebite --namespace team-bytebite # To take down later
164170
```
165171

166172
The app is available at https://team-bytebite.stud.k8s.aet.cit.tum.de

0 commit comments

Comments
 (0)