Skip to content

Commit

Permalink
Merge pull request quarkusio#32090 from bulldog98/k8s-registry-moved
Browse files Browse the repository at this point in the history
K8s moved its registry
  • Loading branch information
gsmet authored Mar 25, 2023
2 parents 2a64e61 + 07d2639 commit f017f9f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,8 @@ public Map<String, String> getKubeconfig() {
return getKubernetesClientConfigFromKubeConfig(
KubeConfigUtils.parseKubeConfig(KubeConfigUtils.replaceServerInKubeconfig(containerAddress.getUrl(),
getFileContentFromContainer(KIND_KUBECONFIG))));
} else if (image.contains("k8s.gcr.io/kube-apiserver")) {
} else if (image.contains("k8s.gcr.io/kube-apiserver") ||
image.contains("registry.k8s.io/kube-apiserver")) {
return getKubernetesClientConfigFromKubeConfig(getKubeconfigFromApiContainer(containerAddress.getUrl()));
}

Expand Down

0 comments on commit f017f9f

Please sign in to comment.