mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-07-28 02:52:50 +00:00
Fix typos
This commit is contained in:
committed by
Joshua Casey
parent
e6a0f94f8f
commit
46bbe5bc75
@@ -61,7 +61,7 @@ func NewCertsCreatorController(
|
||||
) controllerlib.Controller {
|
||||
return controllerlib.New(
|
||||
controllerlib.Config{
|
||||
Name: "certs-manager-controller",
|
||||
Name: "certs-creator-controller",
|
||||
Syncer: &certsCreatorController{
|
||||
namespace: namespace,
|
||||
certsSecretResourceName: certsSecretResourceName,
|
||||
|
||||
@@ -242,6 +242,8 @@ func TestObserverControllerSync(t *testing.T) {
|
||||
|
||||
actualCertChain, actualKey = dynamicCertProvider.CurrentCertKeyContent()
|
||||
r.True(strings.HasPrefix(string(actualCertChain), `-----BEGIN CERTIFICATE-----`), "not a cert:\n%s", string(actualCertChain))
|
||||
// Confirm that the embed worked successfully
|
||||
r.True(len(privateKeyPrefix) > 0, "privateKeyPrefix should be non-empty")
|
||||
r.True(strings.HasPrefix(string(actualKey), privateKeyPrefix), "not a key:\n%s", string(actualKey))
|
||||
})
|
||||
})
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
-----BEGIN PRIVATE KEY-----
|
||||
|
||||
Reference in New Issue
Block a user