The Component Pack documentation uses http for the connection from IHS to the Kubernetes backend. This is not up-to-date any more, so I'd like to use https for those backend connection as well as in IHS like this:
User <----- https -----> IHS <----- https -----> K8S Backend
Following HCLs documentation, we just got
User <----- https -----> IHS <----- http -----> K8S Backend
Component Packs ingress doesn't have any configuration options for https documented.
I unpacked the chart and looked at it's default
values.yml. It seems that IBM/HCL doesn't follow the Helm template, which allow configuring https in almost any charts usingingress.tls.The only possible way seems to be manually modifying our ingress ressources like this:
kubectl edit ing cnx-ingress-orient-me*by a subdomain (e.g.ing):- host: ing.k8s.internaltlssection inspec:Save the changes and verify your ingress is avaliable using https, for example with the comp
curl "https://ing.k8s.internal/social/views/login.html" --headshould returnHTTP/2 200We need to repat this for all deployed ingress ressources. When all features are deployed, there are 4:
Automation
Its also possible to automate those changes by exporting the ingress to a file:
No we can search/replace using
sedTo apply our changes: