1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

Adjsuting lint

This commit is contained in:
Eduardo Vieira 2021-11-02 18:30:39 -03:00
parent ff90d4eb44
commit 1742b9c9fc

View file

@ -134,11 +134,11 @@ var _ = Describe("ExternalSecret controller", func() {
ExternalSecretName = "test-es" ExternalSecretName = "test-es"
ExternalSecretStore = "test-store" ExternalSecretStore = "test-store"
ExternalSecretTargetSecretName = "test-secret" ExternalSecretTargetSecretName = "test-secret"
FakeManager = "fake.manager" FakeManager = "fake.manager"
expectedSecretVal = "SOMEVALUE was templated" expectedSecretVal = "SOMEVALUE was templated"
targetPropObj = "{{ .targetProperty | toString | upper }} was templated" targetPropObj = "{{ .targetProperty | toString | upper }} was templated"
FooValue = "map-foo-value" FooValue = "map-foo-value"
BarValue = "map-bar-value" BarValue = "map-bar-value"
) )
var ExternalSecretNamespace string var ExternalSecretNamespace string
@ -288,7 +288,7 @@ var _ = Describe("ExternalSecret controller", func() {
// create secret beforehand // create secret beforehand
Expect(k8sClient.Create(context.Background(), &v1.Secret{ Expect(k8sClient.Create(context.Background(), &v1.Secret{
ObjectMeta: metav1.ObjectMeta{ ObjectMeta: metav1.ObjectMeta{
Name: ExternalSecretTargetSecretName, Name: ExternalSecretTargetSecretName,
Namespace: ExternalSecretNamespace, Namespace: ExternalSecretNamespace,
}, },
Data: map[string][]byte{ Data: map[string][]byte{