Skip to content

Commit efc3122

Browse files
authored
Merge pull request #376 from fanminshi/fix_368
generator: support gcp auth
2 parents f2219f5 + 402b027 commit efc3122

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pkg/generator/generator_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ import (
425425
sdkVersion "github.com/operator-framework/operator-sdk/version"
426426
427427
"github.com/sirupsen/logrus"
428+
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
428429
)
429430
430431
func printVersion() {

pkg/generator/templates.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ import (
139139
sdkVersion "{{.SDKVersionImport}}"
140140
141141
"github.com/sirupsen/logrus"
142+
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
142143
)
143144
144145
func printVersion() {

0 commit comments

Comments
 (0)