Skip to content

Commit

Permalink
fix: Add carts service (#81)
Browse files Browse the repository at this point in the history
* Add carts service

Signed-off-by: Finta Gabor <[email protected]>

* Add newline at end of file

Signed-off-by: Finta Gabor <[email protected]>

---------

Signed-off-by: Finta Gabor <[email protected]>
  • Loading branch information
gaborfinta authored Jan 17, 2025
1 parent d7927a2 commit 67763d1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions sock-shop/base/carts-svc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
apiVersion: v1
kind: Service
metadata:
name: carts
labels:
name: carts
spec:
ports:
# the port that this service should serve on
- port: 80
targetPort: 80
selector:
name: carts
1 change: 1 addition & 0 deletions sock-shop/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ resources:
- base/carts-db-dep.yaml
- base/carts-db-svc.yaml
- base/carts-dep.yaml
- base/carts-svc.yaml
- base/catalogue-db-dep.yaml
- base/catalogue-db-svc.yaml
- base/catalogue-dep.yaml
Expand Down

0 comments on commit 67763d1

Please sign in to comment.