infra: route GoAlert through VK Istio

This commit is contained in:
Kochetkov S 2026-10-28 14:39:19 +03:00
parent 448a994fd4
commit c23b51e2a5

View File

@ -103,6 +103,17 @@ spec:
renewBefore: 360h0m0s renewBefore: 360h0m0s
privateKey: privateKey:
rotationPolicy: Always rotationPolicy: Always
goalert-tls:
dnsNames:
- goalert.infra.sarex.io
issuerRef:
name: letsencrypt-issuer-istio
kind: ClusterIssuer
spec:
duration: 2160h0m0s
renewBefore: 360h0m0s
privateKey:
rotationPolicy: Always
istio: istio:
gateways: gateways:
vault: vault:
@ -172,6 +183,17 @@ spec:
tls: tls:
credentialName: wiki-tls credentialName: wiki-tls
mode: SIMPLE mode: SIMPLE
goalert:
name: goalert-gateway
namespace: istio-system
selector:
istio: ingressgateway
servers:
- hosts:
- goalert.infra.sarex.io
tls:
credentialName: goalert-tls
mode: SIMPLE
virtualServices: virtualServices:
vault-virt-service: vault-virt-service:
namespace: istio-system namespace: istio-system
@ -250,3 +272,14 @@ spec:
prefix: / prefix: /
service: outline.outline.svc.cluster.local service: outline.outline.svc.cluster.local
port: 80 port: 80
goalert-virt-service:
namespace: istio-system
hosts:
- goalert.infra.sarex.io
gateways:
- istio-system/goalert-gateway
routes:
- path:
prefix: /
service: goalert.goalert.svc.cluster.local
port: 8081