Skip to content

Instantly share code, notes, and snippets.

@jstoner
jstoner / create-channel.go
Created November 11, 2020 07:09
adding a channel of reconcile events
package main
import(
"sigs.k8s.io/controller-runtime/pkg/event"
"sigs.k8s.io/controller-runtime/pkg/source"
ctrl "sigs.k8s.io/controller-runtime"
...
)
// First, in the main entry point code for our operator,