consul-k8s
consul-k8s copied to clipboard
gRPC port is exposed even if gRPC is disabled
Changes proposed in this PR
Disable gRPC node port 8502 when client gRPC is disabled
How I've tested this PR
Added changelog and tests. It was also tested by running modified chart from local code.
How I expect reviewers to test this PR
gRPC node port 8502 should be disabled in consul client when client.grpc is disabled. Currently it is conflicting with server grpc node port when running server and client same node. Similar if should be applied to server template (do not expose 8502 when connect: is disabled) but maybe in different PR.
Checklist
- [x] Tests added
- [x] CHANGELOG entry added
Added changelog and tests. It was also tested by running modified chart from local code.