From 1b770b01ae6015cd913249f0b15191c71ecb51ef Mon Sep 17 00:00:00 2001 From: Margo Crawford Date: Thu, 7 Jan 2021 16:23:41 -0800 Subject: [PATCH] Fix failing kubeconfig unit test --- cmd/pinniped/cmd/kubeconfig_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/pinniped/cmd/kubeconfig_test.go b/cmd/pinniped/cmd/kubeconfig_test.go index 333bcbe2..98aaafd9 100644 --- a/cmd/pinniped/cmd/kubeconfig_test.go +++ b/cmd/pinniped/cmd/kubeconfig_test.go @@ -321,6 +321,7 @@ func TestGetKubeconfig(t *testing.T) { - --token=test-token command: '.../path/to/pinniped' env: [] + provideClusterInfo: false `), }, { @@ -365,6 +366,7 @@ func TestGetKubeconfig(t *testing.T) { - --token-env=TEST_TOKEN command: '.../path/to/pinniped' env: [] + provideClusterInfo: false `), }, { @@ -420,6 +422,7 @@ func TestGetKubeconfig(t *testing.T) { - --request-audience=test-audience command: '.../path/to/pinniped' env: [] + provideClusterInfo: false `, base64.StdEncoding.EncodeToString(testCA.Bundle())), }, { @@ -481,6 +484,7 @@ func TestGetKubeconfig(t *testing.T) { - --request-audience=test-audience command: '.../path/to/pinniped' env: [] + provideClusterInfo: false `, base64.StdEncoding.EncodeToString(testCA.Bundle())), }, }