From 838440505670d838dc743f9d0442519b5cb5fc71 Mon Sep 17 00:00:00 2001 From: Finta Gabor Date: Wed, 24 Mar 2021 10:59:04 +0100 Subject: [PATCH 1/2] Add carts service Signed-off-by: Finta Gabor --- sock-shop/base/carts-svc.yaml | 14 ++++++++++++++ sock-shop/kustomization.yaml | 1 + 2 files changed, 15 insertions(+) create mode 100644 sock-shop/base/carts-svc.yaml 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 From 37961b01e706aece94edc1ac9bc32cd6d6f0eaf5 Mon Sep 17 00:00:00 2001 From: Finta Gabor Date: Thu, 25 Mar 2021 11:16:13 +0100 Subject: [PATCH 2/2] Add newline at end of file Signed-off-by: Finta Gabor --- sock-shop/base/carts-svc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sock-shop/base/carts-svc.yaml b/sock-shop/base/carts-svc.yaml index 7a00163..07526c1 100644 --- a/sock-shop/base/carts-svc.yaml +++ b/sock-shop/base/carts-svc.yaml @@ -11,4 +11,4 @@ spec: - port: 80 targetPort: 80 selector: - name: carts \ No newline at end of file + name: carts