traefik-helm-chart
traefik-helm-chart copied to clipboard
Only create one Service based on version check
This is the continuation of #311. I cherry-picked @0xThiebaut's commits and added the tests as requested in #311.
Since the rancher-maintained helm-unittest does not support mocking Capabilities, I switched to an apparently better-maintained other fork.
Ping @SantoDE since you asked for tests in the original PR
On the other hand, using this still requires a feature gate enabled in the apiserver...
https://kubernetes.io/docs/concepts/services-networking/service/#load-balancers-with-mixed-protocol-types
Saw that this PR actually has the testing. Could we update the version from 1.20 to 1.24 for Kubernetes? Mixed protocol is now beta and is enabled by default going forward.
Superseded by #656