You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 26, 2022. It is now read-only.
chore: update log messages to use the same name format: namespace/external-secret-name (#194)
* chore: update log messages to use the same name format: namespace/external-secret-name
* chore: improve log message when no role is set
* fix: eliminate extended version of secretDescriptor
expect(loggerMock.error.calledWith(error,'status check went boom for %s in %s','fakeSecretName','fakeNamespace')).to.equal(true)
361
+
expect(loggerMock.error.calledWith(error,'status check went boom for fakeNamespace/fakeSecretName')).to.equal(true)
362
362
})
363
363
})
364
364
@@ -457,7 +457,7 @@ describe('Poller', () => {
457
457
}
458
458
459
459
expect(error).to.not.equal(undefined)
460
-
expect(error.message).equals('not allowed to fetch secret: fakeSecretName: namspace does not allow to assume role arn:aws:iam::123456789012:role/test-role')
460
+
expect(error.message).equals('not allowed to fetch secret: fakeNamespace/fakeSecretName: namspace does not allow to assume role arn:aws:iam::123456789012:role/test-role')
461
461
})
462
462
463
463
it('fails storing secret',async()=>{
@@ -496,7 +496,7 @@ describe('Poller', () => {
496
496
497
497
poller.start()
498
498
499
-
expect(loggerMock.info.calledWith(`starting poller on the secret ${poller._secretDescriptor.name}`)).to.equal(true)
499
+
expect(loggerMock.info.calledWith(`starting poller for ${poller._namespace}/${poller._name}`)).to.equal(true)
0 commit comments