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