Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS Termination / Passthrough #6548

Open
2 tasks done
mohammadll opened this issue Nov 21, 2023 · 0 comments
Open
2 tasks done

TLS Termination / Passthrough #6548

mohammadll opened this issue Nov 21, 2023 · 0 comments

Comments

@mohammadll
Copy link

Where is the problem?

https://docs.konghq.com/kubernetes-ingress-controller/3.0.x/guides/services/tls/

What happened?

In the TLS document, in the description section, it is written that Terminate mode listeners require certificate Secret reference in the listeners[].tls.[]certificateRefs field.
However, if you pay attention to the examples section, in the example related to TLS termination, we can see that the tls.mode is set to Passthrough and certificateRefs is not used.

apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: example-gateway
spec:
gatewayClassName: kong
listeners:

  • name: https
    port: 443
    protocol: HTTPS
    hostname: "demo.example.com"
    tls:
    mode: Passthrough

What did you expect to happen?

I was expecting tls.mode to be equal to Terminate in this example and also listeners[].tls.[]certificateRefs to be used.

Code of Conduct and Community Expectations

  • I agree to follow this project's Code of Conduct
  • I agree to abide by the Community Expectations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant