Releases: sercand/kuberesolver
Releases · sercand/kuberesolver
v5.1.1
Fix v5 module name
Forgot to update v5 module path on "go.mod" on previous tag.
v5.0.0
v4.0.0
v3.1.1
v3.1.0: Use service-name.namespace as ServerName Edit
This release changes how kuberesolver handles the servername. It fixes the issues #23 and #25
Previously pod name used as ServerName but it caused problems to use it with TLS. From now on it will report with service-name.namespace format to gRPC.
This is a re-release to follow major.minor.patch versioning.
v3.0.0: Backward Incompatible Changes
This release brings go mod support and changes in resolving default namespaces.
Previously if you don't provide a namespace it will use default
as the default namespace. From now on it will check current pod namespace if the namespace not given in target URI. This is requested in #15
BEFORE, in namespace staging
kubernetes:///service:grpc => kubernetes:///service.default:grpc
AFTER, in namespace staging
kubernetes:///service:grpc => kubernetes:///service.staging:grpc
v2.4.0
v2.0.0- New Go-Grpc resolver Api
This release adds support to new resolver api. Due to this API surface completely changed.
Breaking changes
- No longer there is a
kuberesolver.Balancer
struct. - Service url changes from
kubernetes://service-name:8080
tokubernetes:///service-name:8080
Usage
// Old
balancer := kuberesolver.New()
cc, err := grpc.Dial("kubernetes://service-name:portname", balancer.DialOption(), opts...)
// New
kuberesolver.RegisterInCluster()
cc, err := grpc.Dial("kubernetes:///service-name.namespace:portname", opts...)