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: