---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
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:61491cd30283767f34315ddf8404b5ef4fe74999879961bd73dd02e01594b5fd
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