Skip to content

Commit 383711a

Browse files
committed
Update vaultdynamicsecret_integration_test.go
1 parent b879b67 commit 383711a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/integration/vaultdynamicsecret_integration_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ func TestVaultDynamicSecret(t *testing.T) {
391391
},
392392
}
393393
if tt.useEvents {
394-
vdsObj.Spec.SyncConfig = &secretsv1beta1.VaultStaticSecretSyncConfig{
394+
vdsObj.Spec.SyncConfig = &secretsv1beta1.VaultDynamicSecretSyncConfig{
395395
InstantUpdates: true,
396396
}
397397
vdsObj.Spec.RefreshAfter = "1h"
@@ -448,7 +448,7 @@ func TestVaultDynamicSecret(t *testing.T) {
448448
},
449449
}
450450
if tt.useEvents {
451-
vdsObj.Spec.SyncConfig = &secretsv1beta1.VaultStaticSecretSyncConfig{
451+
vdsObj.Spec.SyncConfig = &secretsv1beta1.VaultDynamicSecretSyncConfig{
452452
InstantUpdates: true,
453453
}
454454
vdsObj.Spec.RefreshAfter = "1h"
@@ -505,7 +505,7 @@ func TestVaultDynamicSecret(t *testing.T) {
505505
},
506506
}
507507
if tt.useEvents {
508-
vdsObj.Spec.SyncConfig = &secretsv1beta1.VaultStaticSecretSyncConfig{
508+
vdsObj.Spec.SyncConfig = &secretsv1beta1.VaultDynamicSecretSyncConfig{
509509
InstantUpdates: true,
510510
}
511511
vdsObj.Spec.RefreshAfter = "1h"
@@ -535,7 +535,7 @@ func TestVaultDynamicSecret(t *testing.T) {
535535
},
536536
}
537537
if tt.useEvents {
538-
vdsObj.Spec.SyncConfig = &secretsv1beta1.VaultStaticSecretSyncConfig{
538+
vdsObj.Spec.SyncConfig = &secretsv1beta1.VaultDynamicSecretSyncConfig{
539539
InstantUpdates: true,
540540
}
541541
vdsObj.Spec.RefreshAfter = "1h"
@@ -571,7 +571,7 @@ func TestVaultDynamicSecret(t *testing.T) {
571571
},
572572
}
573573
if tt.useEvents {
574-
vdsObj.Spec.SyncConfig = &secretsv1beta1.VaultStaticSecretSyncConfig{
574+
vdsObj.Spec.SyncConfig = &secretsv1beta1.VaultDynamicSecretSyncConfig{
575575
InstantUpdates: true,
576576
}
577577
vdsObj.Spec.RefreshAfter = "1h"

0 commit comments

Comments
 (0)