add initial config for mediawiki and teastore
All checks were successful
Mirror to GitHub / mirror (push) Successful in 8s

This commit is contained in:
jona.klaess
2026-06-12 09:46:36 +02:00
parent b08aaa9ebe
commit 102908d8e4
8 changed files with 303 additions and 0 deletions

39
teastore/istio.yaml Normal file
View File

@@ -0,0 +1,39 @@
---
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: teastore-gateway
namespace: ptp-chat
spec:
selector:
istio: ingressgateway # Holt sich das Standard-Ingress-Gateway
servers:
- port:
number: 443
name: https-teastore
protocol: HTTPS
hosts:
- teastore.k8s.bittehackmichnicht.de
tls:
mode: SIMPLE # TLS-Termination am Gateway, damit der VirtualService den Traffic aufteilen kann
credentialName: istio-cert # Name des TLS-Zertifikats in Kubernetes, das für die Verschlüsselung verwendet wird
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: teastore-vs
namespace: ptp-chat
spec:
hosts:
- teastore.k8s.bittehackmichnicht.de
gateways:
- teastore-gateway
http:
- match:
- uri:
prefix: /
route:
- destination:
host: teastore-webui.ptp-chat.svc.cluster.local
port:
number: 8080