Skip to content

Commit

Permalink
Review improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
ReToCode committed Jan 16, 2024
1 parent 584fb6c commit a6c363f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/reconciler/revision/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ func newControllerWithOptions(
}
deploymentInformer.Informer().AddEventHandler(handleMatchingControllers)
paInformer.Informer().AddEventHandler(handleMatchingControllers)
certificateInformer.Informer().AddEventHandler(handleMatchingControllers)

// We don't watch for changes to Image because we don't incorporate any of its
// properties into our own status and should work completely in the absence of
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/encryption.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func getCertificateClass(cm *corev1.ConfigMap) string {

func getCertManagerCA(clients *test.Clients) (*corev1.Secret, error) {
var secret *corev1.Secret
err := wait.PollImmediate(test.PollInterval, test.PollTimeout, func() (bool, error) {
err := wait.PollUntilContextTimeout(context.Background(), test.PollInterval, test.PollTimeout, true, func(context.Context) (bool, error) {
caSecret, err := clients.KubeClient.CoreV1().Secrets(certManagerNamespace).Get(context.Background(), certManagerCASecret, metav1.GetOptions{})
if err != nil {
return false, err
Expand Down

0 comments on commit a6c363f

Please sign in to comment.