feat(alert_manager): added config for ingress

!5 nofusscomputing/infrastructure/configuration-management/inventory-production!3
This commit is contained in:
2023-11-19 18:00:22 +09:30
parent 593d73e4c6
commit 65534660dd
2 changed files with 37 additions and 0 deletions

View File

@ -15,6 +15,29 @@ nfc_monitoring:
image:
name: quay.io/prometheus/alertmanager
tag: 'v0.26.0'
ingress:
annotations:
cert-manager.io/cluster-issuer: "selfsigned-issuer"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
# enabled: false # Optional, boolean.
spec:
tls:
- hosts:
- alert-manager.local
secretName: certificate-tls-alert-manager
rules:
- host: alert-manager.local
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: alertmanager-main
port:
name: web
labels:
app.kubernetes.io/instance: main