Fix kubectl create secret docker-registry

This commit is contained in:
zhouya0
2020-05-11 11:05:37 +08:00
parent 7937aa60a3
commit bbf41448f6
3 changed files with 29 additions and 2 deletions

14
hack/testdata/dockerconfig.json vendored Normal file
View File

@@ -0,0 +1,14 @@
{
"auths":{
"http://foo.example.com":{
"username":"foo",
"password":"bar",
"email":"foo@example.com"
},
"http://bar.example.com":{
"username":"bar",
"password":"baz",
"email":"bar@example.com"
}
}
}