fix crendential sync

Signed-off-by: shaowenchen <mail@chenshaowen.com>
This commit is contained in:
shaowenchen
2020-08-28 16:28:14 +08:00
parent f5b3491d7f
commit 2dcabb0bdb
4 changed files with 13 additions and 7 deletions

View File

@@ -67,9 +67,9 @@ func TestNewSshCredential(t *testing.T) {
Namespace: "test",
},
Data: map[string][]byte{
"username": []byte(username),
"passphrase": []byte(passphrase),
"privatekey": []byte(privatekey),
"username": []byte(username),
"passphrase": []byte(passphrase),
"private_key": []byte(privatekey),
},
Type: "credential.devops.kubesphere.io/ssh-auth",
}