This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
valinor/kubernetes/apps/monitoring/alertmanager/app/helmrelease.yaml

82 lines
1.8 KiB
YAML
Raw Normal View History

2023-08-13 12:13:53 -05:00
---
2023-09-22 20:36:35 -05:00
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
2023-08-13 12:13:53 -05:00
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: alertmanager
namespace: monitoring
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 2.3.0
2023-08-13 12:13:53 -05:00
interval: 30m
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
values:
controller:
type: statefulset
annotations:
reloader.stakater.com/auto: "true"
2023-10-04 15:57:13 -05:00
controllers:
main:
containers:
main:
image:
repository: quay.io/prometheus/alertmanager
tag: main@sha256:9346cb845868c70d37c89f7d0ff66debb3bce166410ff5251281cf03a8c54d84
2023-10-04 15:57:13 -05:00
pullPolicy: IfNotPresent
2023-08-13 12:13:53 -05:00
podAnnotations:
reloader.stakater.com/auto: "true"
service:
main:
ports:
http:
port: 9093
ingress:
main:
2023-10-04 15:57:13 -05:00
classname: nginx
2023-08-13 12:13:53 -05:00
hosts:
2023-12-01 11:00:04 -06:00
- host: &host alertmanager.hsn.dev
2023-08-13 12:13:53 -05:00
paths:
- path: /
pathType: Prefix
2023-10-04 15:57:13 -05:00
service:
name: main
port: http
2023-08-13 12:13:53 -05:00
tls:
- hosts:
- *host
persistence:
config:
enabled: true
type: configMap
name: alertmanager-configmap
2023-10-04 15:57:13 -05:00
globalMounts:
- path: /etc/alertmanager
2023-08-13 12:13:53 -05:00
secrets:
enabled: true
type: secret
name: alertmanager-secret
2023-10-04 15:57:13 -05:00
globalMounts:
- path: /etc/secrets
2023-08-13 12:13:53 -05:00
resources:
requests:
cpu: 11m
memory: 50M
limits:
memory: 99M
volumeClaimTemplates:
- name: storage
mountPath: /alertmanager
accessMode: ReadWriteOnce
size: 50Mi