k3s-cluster/cluster/apps/monitoring/alertmanager-gotify-bridge/helm-release.yaml

68 lines
1.2 KiB
YAML
Raw Normal View History

apiVersion: helm.toolkit.fluxcd.io/v2beta2
2023-04-30 00:15:15 +00:00
kind: HelmRelease
metadata:
name: alertmanager-gotify-bridge
namespace: monitoring
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 1.3.x
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
image:
repository: ghcr.io/druggeri/alertmanager_gotify_bridge
2023-04-30 00:49:03 +00:00
tag: "2.2"
2023-04-30 00:15:15 +00:00
2023-04-30 00:41:49 +00:00
envFrom:
- secretRef:
name: bridge-secrets
2023-04-30 00:50:04 +00:00
podLabels:
needsTools: "yes"
2023-04-30 00:15:15 +00:00
securityContext:
privileged: true
service:
main:
ports:
http:
port: 8080
probes:
liveness:
enabled: false
serviceMonitor:
main:
enabled: true
labels:
release: kube-prometheus-stack
endpoints:
- port: http
scheme: http
path: /metrics
interval: 1m
scrapeTimeout: 10s
persistence:
config:
enabled: true
type: hostPath
hostPath: /mnt/MainPool/Kubernetes/alertmanager-bridge-templates
mountPath: /./templates
# resources:
# requests:
# cpu: 1m
# memory: 140Mi
# limits:
# memory: 300Mi