I’m trying to configure the default k3s Ingress to use a Kubernetes service that’s using TLS.
The ingress itself is configured to use TLS with a self signed cert.
I get Internal Server Error responses when connecting to the ingress.
It all works fine when it’s connecting to service that’s not using TLS
The service works fine, no errors in its log, and port-forward to the service works as expected.
Is it that the Ingress it defaulting to use HTTP when connecting to the service ? Can I configure it to use TLS ?
apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: myingress spec: tls: - hosts: - my.host.com secretName: my.host.com rules: - host: my.host.com http: paths: - backend: serviceName: my-application-service servicePort: 9443