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