Added service
This commit is contained in:
parent
2107e4e55e
commit
bc407e00ed
16
templates/service.yaml
Normal file
16
templates/service.yaml
Normal file
|
@ -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
|
Loading…
Reference in a new issue