Sync secrets (SSL certificates) on events
Remove scheduled check for missing secrets.
This commit is contained in:
parent
8855460817
commit
fec3ddc6cc
9 changed files with 395 additions and 209 deletions
|
|
@ -88,7 +88,7 @@ func TestStore(t *testing.T) {
|
|||
t.Errorf("expected an Ingres but none returned")
|
||||
}
|
||||
|
||||
ls, err := storer.GetLocalSecret(key)
|
||||
ls, err := storer.GetLocalSSLCert(key)
|
||||
if err == nil {
|
||||
t.Errorf("expected an error but none returned")
|
||||
}
|
||||
|
|
@ -467,7 +467,7 @@ func TestStore(t *testing.T) {
|
|||
}
|
||||
|
||||
secretName := fmt.Sprintf("%v/%v", ns.Name, name)
|
||||
sslCert, err := storer.GetLocalSecret(secretName)
|
||||
sslCert, err := storer.GetLocalSSLCert(secretName)
|
||||
if err != nil {
|
||||
t.Errorf("unexpected error reading local secret %v: %v", secretName, err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue