Select Git revision
service.yaml
-
Janne Mareike Koschinski authoredJanne Mareike Koschinski authored
service.yaml 514 B
apiVersion: v1
kind: Service
metadata:
name: {{ include "asynqmon-helm.fullname" . }}
{{ if .Values.metrics.enabled }}
annotations:
prometheus.io/path: "/metrics"
prometheus.io/port: "80"
prometheus.io/scrape: "true"
{{ end }}
labels:
{{- include "asynqmon-helm.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: 80
targetPort: http
protocol: TCP
name: http
selector:
{{- include "asynqmon-helm.selectorLabels" . | nindent 4 }}