68 lines
1.2 KiB
YAML
68 lines
1.2 KiB
YAML
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
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
|
|
tag: "2.2"
|
|
|
|
envFrom:
|
|
- secretRef:
|
|
name: bridge-secrets
|
|
|
|
podLabels:
|
|
needsTools: "yes"
|
|
|
|
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 |