I’m getting illegal route on my browser. I’ve configured httpbin with a certificate and port 443 for https.
configs are below. What am I doing wrong?
kind: Virtual Service
spec:
gateways:
- httpbin-gateway
hosts: - httpbin.demo.test
http: - match:
- uri:
prefix: /
route: - destination:
host: httpbin-service.httpbin.svc.cluster.local
port:
number: 443
- uri:
kind: Gateway
name: httpbin-gateway
namespace: httpbin
spec:
selector:
istio: ingressgateway
servers:
- hosts:
- httpbin.demo.test
port:
name: https
number: 443
protocol: HTTPS
tls:
credentialName: httpbin-credential
mode: SIMPLE
- httpbin.demo.test
kind: Service
name: httpbin-service
namespace: httpbin
spec:
clusterIP: 172.20.224.231
clusterIPs:
- 172.20.224.231
externalTrafficPolicy: Cluster
internalTrafficPolicy: Cluster
ipFamilies: - IPv4
ipFamilyPolicy: SingleStack
ports: - name: https
nodePort: 30443
port: 443
protocol: TCP
targetPort: 443
selector:
app: httpbin-container
sessionAffinity: None
type: NodePort
status:
loadBalancer: {}