Files
devops-infra-helm-charts-gcp/helm-templates/victoria-metrics-alert-stateful/templates/alertmanager-service.yaml
T
2026-08-26 03:39:42 +05:30

22 lines
541 B
YAML

{{- if .Values.alertmanager.enabled -}}
apiVersion: v1
kind: Service
metadata:
namespace: {{ .Release.Namespace }}
{{- with .Values.alertmanager.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "vmalert.alertmanager.labels" . | nindent 4 }}
name: {{ template "vmalert.alertmanager.fullname" . }}
spec:
ports:
- name: web
port: 9093
targetPort: web
protocol: TCP
selector:
{{- include "vmalert.alertmanager.matchLabels" . | nindent 4 }}
{{- end }}