Browse Source

Changing secret types to match test

Kian 4 years ago
parent
commit
128bba3034
1 changed files with 2 additions and 1 deletions
  1. 2 1
      e2e/suite/common/common.go

+ 2 - 1
e2e/suite/common/common.go

@@ -354,7 +354,7 @@ func SSHKeySync(f *framework.Framework) (string, func(*framework.TestCase)) {
 		}
 
 		tc.ExpectedSecret = &v1.Secret{
-			Type: v1.SecretTypeOpaque,
+			Type: v1.SecretTypeSSHAuth,
 			Data: map[string][]byte{
 				"ssh-privatekey": []byte(sshSecretValue),
 			},
@@ -370,6 +370,7 @@ func SSHKeySync(f *framework.Framework) (string, func(*framework.TestCase)) {
 		}
 
 		tc.ExternalSecret.Spec.Target.Template = &esv1alpha1.ExternalSecretTemplate{
+			Type: v1.SecretTypeSSHAuth,
 			Data: map[string]string{
 				"ssh-privatekey": "{{ .mysecret | toString }}",
 			},