---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: alertmanager
namespace: monitoring
spec:
interval: 30m
chart:
chart: app-template
version: 1.5.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
values:
controller:
type: statefulset
annotations:
reloader.stakater.com/auto: "true"
image:
repository: quay.io/prometheus/alertmanager
tag: main@sha256:fdd2cb394f47404077885c372cee76897d341aa8dd7f44afa53ad10521bbbc64
podAnnotations:
service:
main:
ports:
http:
port: 9093
ingress:
enabled: true
ingressClassName: nginx
hosts:
- host: &host alertmanager.valinor.social
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
persistence:
config:
type: configMap
name: alertmanager-configmap
mountPath: /etc/alertmanager
readOnly: true
secrets:
type: secret
name: alertmanager-secret
mountPath: /etc/secrets
resources:
requests:
cpu: 11m
memory: 50M
limits:
memory: 99M
volumeClaimTemplates:
- name: storage
mountPath: /alertmanager
accessMode: ReadWriteOnce
size: 50Mi