add conditional for https redirects and use hosts instead of wildcard
requested to merge 49-hardcoded-wildcard-affects-http-to-https-redirects-with-istio-gateways into main
Closes #39 (closed)
Closes #49 (closed)
These changes add in logic to use the servers.hosts entries in the auto-generated http->https redirect blocks instead of the global-matching "*"
In addition, the auto-generated redirect blocks can be enabled or disabled by redirectHttpToHttps.enabled value. If redirectHttpToHttps is not defined, the default is to generate the block.
The values file:
The generated Gateway definition:
Edited by Michael Martin