diff --git a/sock-shop/base/carts-svc.yaml b/sock-shop/base/carts-svc.yaml new file mode 100644 index 0000000..7a00163 --- /dev/null +++ b/sock-shop/base/carts-svc.yaml @@ -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 \ No newline at end of file diff --git a/sock-shop/kustomization.yaml b/sock-shop/kustomization.yaml index bcc3578..5f88a66 100644 --- a/sock-shop/kustomization.yaml +++ b/sock-shop/kustomization.yaml @@ -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