From 89841ee8aae3a99be0501345e4a069105fc1ad66 Mon Sep 17 00:00:00 2001 From: youngjun827 Date: Fri, 3 Nov 2023 16:25:44 -0400 Subject: [PATCH] feat(chore): remove duplicates --- operations/k8s/base/thoughts/base-thoughts.yaml | 6 +++++- .../k8s/dev/thoughts/dev-thoughts-patch-deploy.yaml | 8 -------- .../k8s/dev/thoughts/dev-thoughts-patch-service.yaml | 3 --- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/operations/k8s/base/thoughts/base-thoughts.yaml b/operations/k8s/base/thoughts/base-thoughts.yaml index 019c403..f187f4d 100644 --- a/operations/k8s/base/thoughts/base-thoughts.yaml +++ b/operations/k8s/base/thoughts/base-thoughts.yaml @@ -46,4 +46,8 @@ apiVersion: v1 kind: Service metadata: name: thoughts-api - namespace: thoughts-system \ No newline at end of file + namespace: thoughts-system + +spec: + selector: + app: sales \ No newline at end of file diff --git a/operations/k8s/dev/thoughts/dev-thoughts-patch-deploy.yaml b/operations/k8s/dev/thoughts/dev-thoughts-patch-deploy.yaml index 2a89103..bf75153 100644 --- a/operations/k8s/dev/thoughts/dev-thoughts-patch-deploy.yaml +++ b/operations/k8s/dev/thoughts/dev-thoughts-patch-deploy.yaml @@ -5,20 +5,12 @@ metadata: namespace: thoughts-system spec: - selector: - matchLabels: - app: thoughts - replicas: 1 strategy: type: Recreate template: - metadata: - labels: - app: thoughts - spec: dnsPolicy: ClusterFirstWithHostNet hostNetwork: true diff --git a/operations/k8s/dev/thoughts/dev-thoughts-patch-service.yaml b/operations/k8s/dev/thoughts/dev-thoughts-patch-service.yaml index f742bef..a12d8b2 100644 --- a/operations/k8s/dev/thoughts/dev-thoughts-patch-service.yaml +++ b/operations/k8s/dev/thoughts/dev-thoughts-patch-service.yaml @@ -5,9 +5,6 @@ metadata: namespace: thoughts-system spec: - selector: - app: thoughts - type: ClusterIP ports: