From 7632c490a02483896bffb00282d17716366e0417 Mon Sep 17 00:00:00 2001 From: EarthlingDavey <15802017+EarthlingDavey@users.noreply.github.com> Date: Wed, 4 Dec 2024 16:53:59 +0000 Subject: [PATCH] Create indy. headless service (#26) --- deploy/development/service.yml | 14 ++++++++++++++ deploy/development/stateful-set.tpl.yml | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/deploy/development/service.yml b/deploy/development/service.yml index a1d67d9..6b0d12a 100644 --- a/deploy/development/service.yml +++ b/deploy/development/service.yml @@ -4,6 +4,20 @@ metadata: name: intranet-archive-service labels: app: intranet-archive +spec: + ports: + - port: 80 + name: http + targetPort: 8080 + selector: + app: intranet-archive +--- +apiVersion: v1 +kind: Service +metadata: + name: intranet-archive-headless-service + labels: + app: intranet-archive spec: ports: - port: 80 diff --git a/deploy/development/stateful-set.tpl.yml b/deploy/development/stateful-set.tpl.yml index ab07dc4..fc4560c 100644 --- a/deploy/development/stateful-set.tpl.yml +++ b/deploy/development/stateful-set.tpl.yml @@ -13,7 +13,7 @@ spec: selector: matchLabels: app: intranet-archive - serviceName: intranet-archive-service + serviceName: intranet-archive-headless-service template: metadata: labels: