Hi guys, I was using istio gateway + virt service as a way to expose my service before. Now I’m using k8s ingress with istio ingress class. Is there any way to force http redirect to https by adding something in config such as annotation etc.?
here is my current config:
kind: Ingress apiVersion: networking.k8s.io/v1 metadata: name: example-service namespace: sandbox annotations: ingress.kubernetes.io/force-ssl-redirect: 'true' kubernetes.io/ingress.class: istio spec: tls: - hosts: - ssl.example.com secretName: example-tls rules: - host: ssl.example.com http: paths: - path: /* pathType: ImplementationSpecific backend: service: name: serv1 port: name: serv1
Any help will be really appreciated