feat: implement service type NodePort
This PR adds support for Kubernetes services of type NodePort.
I tried my best to keep the structure of the configuration and code the same as for the LoadBalancer service type.
If the configuration for the NodePort is enabled the LoadBalancer configuration is overwritten. Specific ports to be used on the kubernetes node(s) can be specified, if left empty kubernetes picks a port based on the clusters configuration: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
Implements https://github.com/zalando/postgres-operator/issues/983 Probably supersedes https://github.com/zalando/postgres-operator/pull/994
Since this is my first PR at Zalando and this repository, please feel free to let me know if you would like me to make changes, if you want a specific test or if I need to bump a version somewhere. Thank you!
Cannot start a pipeline due to:
No accountable user for this pipeline: no Zalando employee associated to this GitHub username
Click on pipeline status check Details link below for more information.
Cannot start a pipeline due to:
No accountable user for this pipeline: no Zalando employee associated to this GitHub username
Click on pipeline status check Details link below for more information.
Cannot start a pipeline due to:
No accountable user for this pipeline: no Zalando employee associated to this GitHub username
Click on pipeline status check Details link below for more information.
Cannot start a pipeline due to:
No accountable user for this pipeline: no Zalando employee associated to this GitHub username
Click on pipeline status check Details link below for more information.