Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit c59a921

Browse files
committed
Set log level debug for kind
Signed-off-by: JoshVanL <[email protected]>
1 parent 9d9d164 commit c59a921

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ require (
66
github.com/Masterminds/semver v1.4.2
77
github.com/golang/mock v0.0.0-20160127222235-bd3c8e81be01
88
github.com/heptiolabs/healthcheck v0.0.0-20180807145615-6ff867650f40
9+
github.com/sirupsen/logrus v1.4.1
910
github.com/spf13/cobra v0.0.5
1011
gopkg.in/square/go-jose.v2 v2.3.1
1112
k8s.io/api v0.0.0

pkg/e2e/e2e_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ import (
1111
"time"
1212

1313
"github.com/Masterminds/semver"
14-
"github.com/jetstack/kube-oidc-proxy/pkg/utils"
14+
log "github.com/sirupsen/logrus"
1515
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1616
"k8s.io/client-go/kubernetes"
1717
"k8s.io/client-go/tools/clientcmd"
1818
"k8s.io/klog"
1919
"sigs.k8s.io/kind/pkg/cluster"
2020
"sigs.k8s.io/kind/pkg/cluster/config"
21+
22+
"github.com/jetstack/kube-oidc-proxy/pkg/utils"
2123
)
2224

2325
const (
@@ -89,6 +91,8 @@ kind: ClusterConfiguration
8991
conf.Nodes[i].Image = nodeImage
9092
}
9193

94+
log.SetLevel(log.DebugLevel)
95+
9296
// create kind cluster
9397
klog.Infof("creating kind cluster '%s'", clusterContext.Name())
9498
if err := clusterContext.Create(conf); err != nil {

0 commit comments

Comments
 (0)