mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 04:32:37 +00:00
update examples/cassandra to api v1beta3
This commit is contained in:
@@ -64,7 +64,7 @@ public class KubernetesSeedProvider implements SeedProvider {
|
||||
|
||||
String host = protocol + "://" + hostName + ":" + hostPort;
|
||||
String serviceName = getEnvOrDefault("CASSANDRA_SERVICE", "cassandra");
|
||||
String path = "/api/v1beta1/endpoints/";
|
||||
String path = "/api/v1beta3/endpoints/";
|
||||
try {
|
||||
URL url = new URL(host + path + serviceName);
|
||||
ObjectMapper mapper = new ObjectMapper();
|
||||
|
Reference in New Issue
Block a user