75 lines
1.5 KiB
YAML
75 lines
1.5 KiB
YAML
---
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: alertmanager
|
|
namespace: monitoring
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 1.5.1
|
|
interval: 30m
|
|
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:9ec2c0c85673a6fefb650bf77d2204984f0d77a25c156f353edd650c32221dbf
|
|
|
|
podAnnotations:
|
|
reloader.stakater.com/auto: "true"
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
port: 9093
|
|
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
ingressClassName: nginx
|
|
hosts:
|
|
- host: &host alertmanager.valinor.social
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
type: configMap
|
|
name: alertmanager-configmap
|
|
mountPath: /etc/alertmanager
|
|
readOnly: true
|
|
secrets:
|
|
enabled: true
|
|
type: secret
|
|
name: alertmanager-secret
|
|
mountPath: /etc/secrets
|
|
readOnly: true
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 11m
|
|
memory: 50M
|
|
limits:
|
|
memory: 99M
|
|
|
|
volumeClaimTemplates:
|
|
- name: storage
|
|
mountPath: /alertmanager
|
|
accessMode: ReadWriteOnce
|
|
size: 50Mi
|