1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-15 17:51:01 +00:00

Changing secret types to match test

This commit is contained in:
Kian 2021-07-30 10:50:14 +01:00
parent fec30259e9
commit 128bba3034

View file

@ -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 }}",
},