Open dhohengassner opened 3 years ago
Second that Vault should be possible to access on the default ports like 80/443
I am wondering... Which problem does this solve? Just an aesthetic one -- that the URL does not need to specify the port :8200
? Or am I missing something?
Couple of policy reasons and requirements that come into play. First we can safely say there is no benefit in running at a high port, it causes human confusion and requires documentation overhead deviating from the standards. Nevertheless, in our company the firewall policy does not permit other random high ports for http/https for firewall rules zone transitions other than the approved default ports. So kind of a hard requirement, and we don't want to treat access differently whether it's in- or cluster external.
Is your feature request related to a problem? Please describe. I cannot configure Vault CR to create a service available under port 443 pointing to the pod API on a different port.
Vault per default exposes its HTTPS endpoint under port 8200.
The k8s service I like to create would need to look like this:
With the fields available in the Vault CR I can define:
But the resulting k8s svc only provides:
The Vault pods also do not start if they are configured to run the API directly on port 443 (probably does make sense):
Describe the solution you'd like The CR should support configuration like:
Describe alternatives you've considered Until this is supported I do not use the Vault Service created from the CR and create another one next to it.
Thanks for looking into this!