From 5c1a894a43bdbdafa5acb1036e7807efa6413a0c Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Thu, 15 Aug 2024 11:10:07 +0300 Subject: [PATCH] add goredirect service manifest --- hackerspace/goredirect.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/hackerspace/goredirect.yaml b/hackerspace/goredirect.yaml index 56faf49..783ccee 100644 --- a/hackerspace/goredirect.yaml +++ b/hackerspace/goredirect.yaml @@ -55,3 +55,22 @@ spec: readOnlyRootFilesystem: true runAsNonRoot: true runAsUser: 1000 +--- +apiVersion: v1 +kind: Service +metadata: + name: goredirect + annotations: + external-dns.alpha.kubernetes.io/hostname: k6.ee + metallb.universe.tf/address-pool: elisa +spec: + ports: + - name: http + protocol: TCP + port: 80 + targetPort: 8080 + nodePort: 32120 + selector: + app.kubernetes.io/name: goredirect + type: LoadBalancer + externalTrafficPolicy: Local