Files
incidentops/helm/incidentops/templates/web-service.yaml

18 lines
430 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "incidentops.fullname" . }}-web
labels:
{{- include "incidentops.labels" . | nindent 4 }}
app.kubernetes.io/component: web
spec:
type: ClusterIP
ports:
- port: {{ .Values.web.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "incidentops.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: web