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.0.3
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:7c060ae2a86177fbb4106fddcdd9f2cd494d4415b67ccda71a9fdf11f52e825b
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:
- host: &host alertmanager.valinor.social
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