From bc407e00ed14a74d5837c958e22dc952fcc576e5 Mon Sep 17 00:00:00 2001 From: David Burke Date: Fri, 23 Oct 2020 16:13:28 -0400 Subject: [PATCH] Added service --- templates/service.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 templates/service.yaml diff --git a/templates/service.yaml b/templates/service.yaml new file mode 100644 index 0000000..a8c4adc --- /dev/null +++ b/templates/service.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "glitchtip.fullname" . }} + labels: + {{- include "glitchtip.labels" . | nindent 4 }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.port }} + targetPort: http + protocol: TCP + name: http + selector: + {{- include "glitchtip.selectorLabels" . | nindent 4 }} + role: web \ No newline at end of file