We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eb0505 commit 02cb83cCopy full SHA for 02cb83c
internal/watch/watcher.go
@@ -24,12 +24,14 @@ type Watcher struct {
24
25
func NewWatcher(
26
googleCloudProjectID string,
27
+ gkeClusterName string,
28
k8sClient k8sClient,
29
store store,
30
notifier notifier,
31
) *Watcher {
32
return &Watcher{
33
googleCloudProjectID: googleCloudProjectID,
34
+ gkeClusterName: gkeClusterName,
35
k8sClient: k8sClient,
36
store: store,
37
notifier: notifier,
main.go
@@ -65,6 +65,7 @@ func run(ctx context.Context) error {
65
66
watcher := watch.NewWatcher(
67
conf.GoogleCloudProjectID,
68
+ conf.GKEClusterName,
69
k8sClient,
70
store,
71
notification.NewAggregateNotifier(notifiers),
0 commit comments