Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
1 result

service.yaml

Blame
  • 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 }}