mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-07 14:05:50 +00:00
test secret and configmap filtering in concierge authenticator controllers
Signed-off-by: Ashish Amarnath <ashish.amarnath@broadcom.com>
This commit is contained in:
committed by
Ryan Richard
parent
cb4b63f8b3
commit
1b7a26d932
@@ -2302,7 +2302,7 @@ func TestGitHubUpstreamWatcherControllerFilterSecret(t *testing.T) {
|
||||
wantDelete: true,
|
||||
},
|
||||
{
|
||||
name: "should return false for a secret of the type Opaque",
|
||||
name: "should return true for a secret of the type Opaque",
|
||||
secret: func() *corev1.Secret {
|
||||
otherSecret := goodSecret.DeepCopy()
|
||||
otherSecret.Type = corev1.SecretTypeOpaque
|
||||
@@ -2313,7 +2313,7 @@ func TestGitHubUpstreamWatcherControllerFilterSecret(t *testing.T) {
|
||||
wantDelete: true,
|
||||
},
|
||||
{
|
||||
name: "should return false for a secret of the type TLS",
|
||||
name: "should return true for a secret of the type TLS",
|
||||
secret: func() *corev1.Secret {
|
||||
otherSecret := goodSecret.DeepCopy()
|
||||
otherSecret.Type = corev1.SecretTypeTLS
|
||||
|
||||
Reference in New Issue
Block a user