forked from knative/serving
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable secret informer filtering (knative#1281) (#11)
* add label to release secrets * clean up Co-authored-by: Stavros Kontopoulos <[email protected]>
- Loading branch information
Showing
3 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/test/e2e/domainmapping/domain_mapping_test.go b/test/e2e/domainmapping/domain_mapping_test.go | ||
index 9b5c7b2d1..7f71686ce 100644 | ||
--- a/test/e2e/domainmapping/domain_mapping_test.go | ||
+++ b/test/e2e/domainmapping/domain_mapping_test.go | ||
@@ -82,7 +82,8 @@ func TestBYOCertificate(t *testing.T) { | ||
cert, key := makeCertificateForDomain(t, host) | ||
secret, err := clients.KubeClient.CoreV1().Secrets(test.ServingFlags.TestNamespace).Create(ctx, &corev1.Secret{ | ||
ObjectMeta: metav1.ObjectMeta{ | ||
- Name: test.AppendRandomString("byocert-secret"), | ||
+ Name: test.AppendRandomString("byocert-secret"), | ||
+ Labels: map[string]string{"networking.internal.knative.dev/certificate-uid": "byocert-secret"}, | ||
}, | ||
Type: corev1.SecretTypeTLS, | ||
Data: map[string][]byte{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters