From 02a980e4d61357e011f5696e6e4237acfc5a86c8 Mon Sep 17 00:00:00 2001 From: erik Date: Thu, 10 Aug 2023 14:18:52 +0200 Subject: [PATCH] Add taiga-gateway-service, consistent labels --- .../taiga/taiga-gateway-deployment.yaml | 1 + .../resources/taiga/taiga-gateway-service.yaml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 src/main/resources/taiga/taiga-gateway-service.yaml diff --git a/src/main/resources/taiga/taiga-gateway-deployment.yaml b/src/main/resources/taiga/taiga-gateway-deployment.yaml index a33efa6..79e85f3 100644 --- a/src/main/resources/taiga/taiga-gateway-deployment.yaml +++ b/src/main/resources/taiga/taiga-gateway-deployment.yaml @@ -4,6 +4,7 @@ metadata: name: taiga-gateway-deployment labels: app.kubernetes.part-of: c4k-taiga + app.kubernetes.io/component: taiga-gateway spec: replicas: 1 selector: diff --git a/src/main/resources/taiga/taiga-gateway-service.yaml b/src/main/resources/taiga/taiga-gateway-service.yaml new file mode 100644 index 0000000..cfcd524 --- /dev/null +++ b/src/main/resources/taiga/taiga-gateway-service.yaml @@ -0,0 +1,18 @@ +kind: Service +apiVersion: v1 +metadata: + name: taiga-gateway-service + labels: + app.kubernetes.part-of: c4k-taiga + app.kubernetes.io/component: taiga-gateway + namespace: default +spec: + type: ClusterIP + selector: + app.kubernetes.io/component: taiga-gateway + ports: + - name: http + targetPort: http + port: 80 + protocol: TCP + \ No newline at end of file