Require PV provisioner secrets to match type

This commit is contained in:
Jordan Liggitt
2016-10-27 02:21:36 -04:00
parent e233f14ad5
commit 1dd73c59f3
5 changed files with 46 additions and 13 deletions

View File

@@ -242,6 +242,7 @@ func TestPersistentClaimReadOnlyFlag(t *testing.T) {
func TestParseClassParameters(t *testing.T) {
secret := api.Secret{
Type: "kubernetes.io/glusterfs",
Data: map[string][]byte{
"data": []byte("mypassword"),
},