Skip to content

Commit

Permalink
Merge pull request #395 from gthiemonge/fix_watchers
Browse files Browse the repository at this point in the history
Fixed backtraces when setting up watchers
  • Loading branch information
openshift-merge-bot[bot] authored Oct 17, 2024
2 parents aff5c1f + 06597a7 commit 930f347
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions controllers/amphoracontroller_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,11 @@ func (r *OctaviaAmphoraControllerReconciler) findObjectsForSrc(ctx context.Conte

l := log.FromContext(ctx).WithName("Controllers").WithName("Amphora")

allWatchFields := []string{
passwordSecretField,
caBundleSecretNameField,
}

for _, field := range allWatchFields {
crList := &octaviav1.OctaviaAmphoraControllerList{}
listOps := &client.ListOptions{
Expand Down

0 comments on commit 930f347

Please sign in to comment.