|
|
@@ -402,8 +402,9 @@ var _ = Describe("ClusterPushSecret controller", func() {
|
|
|
}
|
|
|
updatedSpec.PushSecretSpec.SecretStoreRefs = []v1alpha1.PushSecretStoreRef{
|
|
|
{
|
|
|
- Name: updateStoreName,
|
|
|
- Kind: "SecretStore",
|
|
|
+ Name: updateStoreName,
|
|
|
+ Kind: "SecretStore",
|
|
|
+ APIVersion: "external-secrets.io/v1",
|
|
|
},
|
|
|
}
|
|
|
|
|
|
@@ -428,8 +429,9 @@ var _ = Describe("ClusterPushSecret controller", func() {
|
|
|
updatedSpec := created.Spec.PushSecretSpec.DeepCopy()
|
|
|
updatedSpec.SecretStoreRefs = []v1alpha1.PushSecretStoreRef{
|
|
|
{
|
|
|
- Name: updateStoreName,
|
|
|
- Kind: "SecretStore",
|
|
|
+ Name: updateStoreName,
|
|
|
+ Kind: "SecretStore",
|
|
|
+ APIVersion: "external-secrets.io/v1",
|
|
|
},
|
|
|
}
|
|
|
|
|
|
@@ -517,8 +519,9 @@ var _ = Describe("ClusterPushSecret controller", func() {
|
|
|
RefreshInterval: &metav1.Duration{Duration: time.Hour},
|
|
|
SecretStoreRefs: []v1alpha1.PushSecretStoreRef{
|
|
|
{
|
|
|
- Name: updateStoreName,
|
|
|
- Kind: "SecretStore",
|
|
|
+ Name: updateStoreName,
|
|
|
+ Kind: "SecretStore",
|
|
|
+ APIVersion: "external-secrets.io/v1",
|
|
|
},
|
|
|
},
|
|
|
UpdatePolicy: "Replace",
|