Hi,
I am trying to configure Istio Ingress to serve traffic from a container running tomcat (HTTPS). Below is the configuration I am trying, but not able to figure it out.
I get “503 TLSrror: Secret is not supplied by SDS” error. Any pointers to go about writing rules for a pod running HTTPS is much appreciated.
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: myapp-gateway
namespace: myappns
spec:
selector:
istio: myapp-ingressgateway
servers:
-
port:
number: 443
name: https
protocol: HTTPS
tls:
mode: SIMPLE
credentialName: myapp-certs
hosts:
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: myapp
namespace: myappns
spec:
hosts: -
“myapp.example.com”
gateways: -
myapp-gateway
http: -
match:
- uri:
prefix: /
route: - destination:
port:
number: 8080
host: myapp
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: myapp-destination-rule
namespace: myappns
spec:
host: myapp
trafficPolicy:
tls:
mode: SIMPLE
credentialName: myapp-certs - uri:
Thanks
Shashi