does it work now?

This commit is contained in:
Linus Vogel 2026-06-29 20:14:26 +02:00
parent 92fbbc6a55
commit ed004b381b
4 changed files with 30 additions and 21 deletions

View File

@ -3,11 +3,6 @@ kind: Namespace
metadata: metadata:
name: istio-system name: istio-system
--- ---
apiVersion: v1
kind: Namespace
metadata:
name: istio-ingress
---
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:

View File

@ -1,16 +0,0 @@
apiVersion: networking.istio.io/v1
kind: Gateway
metadata:
name: apps-gateway
namespace: istio-ingress
spec:
selector:
app: ingressgateway
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- "*.apps.linvogel.ch"
- "*.apps.linvogel.internal"

View File

@ -0,0 +1,30 @@
apiVersion: networking.istio.io/v1
kind: Gateway
metadata:
name: my-gateway
namespace: some-config-namespace
spec:
selector:
app: my-gateway-controller
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- *.apps.linvogel.ch
- *.apps.linvogel.internal
tls:
httpsRedirect: true # sends 301 redirect for http requests
- port:
number: 443
name: https-443
protocol: HTTPS
hosts:
- *.apps.linvogel.ch
- *.apps.linvogel.internal
tls:
mode: SIMPLE
serverCertificate: /etc/certs/servercert.pem
privateKey: /etc/certs/privatekey.pem