modified the version of dashboard in test/integration/start_stop_delete_test.go file
parent
dd29fd2fe1
commit
ab7bb61b31
|
@ -448,10 +448,10 @@ func testPause(ctx context.Context, t *testing.T, profile string) {
|
|||
// Remove container-specific prefixes for naming consistency
|
||||
// for example in `docker` runtime we get this:
|
||||
// $ docker@minikube:~$ sudo crictl images -o json | grep dash
|
||||
// "kubernetesui/dashboard:v2.5.1"
|
||||
// "kubernetesui/dashboard:vX.X.X"
|
||||
// but for 'containerd' we get full name
|
||||
// $ docker@minikube:~$ sudo crictl images -o json | grep dash
|
||||
// "docker.io/kubernetesui/dashboard:v2.5.1"
|
||||
// "docker.io/kubernetesui/dashboard:vX.X.X"
|
||||
func trimImageName(name string) string {
|
||||
name = strings.TrimPrefix(name, "docker.io/")
|
||||
name = strings.TrimPrefix(name, "localhost/")
|
||||
|
|
Loading…
Reference in New Issue