How to change SSL configuration for ingress-controller 1.0.0

I am currently trying to change the ingress-controller from 0.9.1 to 1.2.0.
Up to 0.10.0 there is no problem, but if I change it to 1.0.0, the following error is displayed in the chrome browser.
We have created and used private certificates.

What settings do I need to additionally change to apply version 1.0.0 or higher?

[Error]
Bad Request
This combination of host and port requires TLS.

[changed item in charts]
image name :kong-ingress-controller => kubernetes-ingress-controller
image version 0.10.0 => 1.0.0
–admin-tls-skip-verif => --kong-admin-tls-skip-verif
CONTROLLER_KONG_URL => CONTROLLER_KONG_ADMIN_URL

[Env]
dbless, kubernetes, bityami stable chart

[SSL Config]

  • kong.conf
    ssl_cert = /etc/kong/certs/cert.crt
    ssl_cert_key = /etc/kong/certs/cert.key
    lua_ssl_trusted_certificate = /run/secrets/kubernetes.io/serviceaccount/ca.crt

I finally found the way
kubernetes-ingress-controller over 1.0 needs annotation in each service.

konghq.com/protocol: https”

I added this and it works fine.


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ