Files
kubernetes-config/argocd/argocd-istio.yaml
2026-03-17 15:28:15 +01:00

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