39 lines
776 B
YAML
39 lines
776 B
YAML
apiVersion: networking.istio.io/v1beta1
|
|
kind: Gateway
|
|
metadata:
|
|
name: argocd-gateway
|
|
namespace: argocd
|
|
spec:
|
|
selector:
|
|
istio: ingressgateway
|
|
servers:
|
|
- port:
|
|
number: 443
|
|
name: https-argocd
|
|
protocol: HTTPS
|
|
hosts:
|
|
- argo.k8s.bittehackmichnicht.de
|
|
tls:
|
|
mode: PASSTHROUGH
|
|
---
|
|
apiVersion: networking.istio.io/v1beta1
|
|
kind: VirtualService
|
|
metadata:
|
|
name: argocd-vs
|
|
namespace: argocd
|
|
spec:
|
|
hosts:
|
|
- argo.k8s.bittehackmichnicht.de
|
|
gateways:
|
|
- argocd-gateway
|
|
tls:
|
|
- match:
|
|
- port: 443
|
|
sniHosts:
|
|
- argo.k8s.bittehackmichnicht.de
|
|
route:
|
|
- destination:
|
|
host: argocd-server.argocd.svc.cluster.local
|
|
port:
|
|
number: 443
|