| commit | c17b19c95982daf35486b5b830d11c47d30f32ab | [log] [tgz] |
|---|---|---|
| author | giolekva <giolekva@gmail.com> | Wed May 06 15:33:49 2020 +0400 |
| committer | giolekva <giolekva@gmail.com> | Wed May 06 15:33:49 2020 +0400 |
| tree | a58d49aa2203e847dcd3144115913b011e87e085 | |
| parent | ede6d2ba17e6281975f1e78eb6c82170df2707f0 [diff] [blame] |
event-processor: configure service account and cluster role binding so it can create pods in any namespace
diff --git a/events/processor.go b/events/processor.go index 89db4d5..504e261 100644 --- a/events/processor.go +++ b/events/processor.go
@@ -50,7 +50,7 @@ glog.Info("Creating pod...") resp, err := p.pods.Create(context.TODO(), pod, metav1.CreateOptions{}) if err != nil { - glog.Error(resp) + glog.Error(err) continue } glog.Infof("Pod created: %s", resp)