Skip to content

Commit d7a246b

Browse files
authored
Recompile plugin with steampipe-plugin-sdk v5.10.4 and Go version 1.22.4 (#246)
1 parent 8d6e3f4 commit d7a246b

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

go.mod

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
module github.com/turbot/steampipe-plugin-kubernetes
22

3-
go 1.21.0
3+
go 1.22.4
44

5-
toolchain go1.21.3
5+
toolchain go1.22.6
66

77
require (
88
github.com/iancoleman/strcase v0.3.0
99
github.com/mitchellh/go-homedir v1.1.0
1010
github.com/mittwald/go-helm-client v0.11.5
1111
github.com/turbot/go-kit v0.10.0-rc.0
12-
github.com/turbot/steampipe-plugin-sdk/v5 v5.10.1
12+
github.com/turbot/steampipe-plugin-sdk/v5 v5.10.4
1313
golang.org/x/text v0.15.0
1414
gopkg.in/yaml.v3 v3.0.1
1515
helm.sh/helm/v3 v3.10.0
@@ -104,7 +104,7 @@ require (
104104
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
105105
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
106106
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
107-
github.com/hashicorp/go-getter v1.7.4 // indirect
107+
github.com/hashicorp/go-getter v1.7.5 // indirect
108108
github.com/hashicorp/go-hclog v1.6.3 // indirect
109109
github.com/hashicorp/go-plugin v1.6.1 // indirect
110110
github.com/hashicorp/go-safetemp v1.0.0 // indirect

go.sum

+4-4
Original file line numberDiff line numberDiff line change
@@ -564,8 +564,8 @@ github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brv
564564
github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
565565
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
566566
github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
567-
github.com/hashicorp/go-getter v1.7.4 h1:3yQjWuxICvSpYwqSayAdKRFcvBl1y/vogCxczWSmix0=
568-
github.com/hashicorp/go-getter v1.7.4/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744=
567+
github.com/hashicorp/go-getter v1.7.5 h1:dT58k9hQ/vbxNMwoI5+xFYAJuv6152UNvdHokfI5wE4=
568+
github.com/hashicorp/go-getter v1.7.5/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744=
569569
github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k=
570570
github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M=
571571
github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
@@ -854,8 +854,8 @@ github.com/tkrajina/go-reflector v0.5.6 h1:hKQ0gyocG7vgMD2M3dRlYN6WBBOmdoOzJ6njQ
854854
github.com/tkrajina/go-reflector v0.5.6/go.mod h1:ECbqLgccecY5kPmPmXg1MrHW585yMcDkVl6IvJe64T4=
855855
github.com/turbot/go-kit v0.10.0-rc.0 h1:kd+jp2ibbIV33Hc8SsMAN410Dl9Pz6SJ40axbKUlSoA=
856856
github.com/turbot/go-kit v0.10.0-rc.0/go.mod h1:fFQqR59I5z5JeeBLfK1PjSifn4Oprs3NiQx0CxeSJxs=
857-
github.com/turbot/steampipe-plugin-sdk/v5 v5.10.1 h1:yqiWeswy7geNzRIUJGuA7KQRq6gY5gUOc6ozBgbpNzI=
858-
github.com/turbot/steampipe-plugin-sdk/v5 v5.10.1/go.mod h1:Ji3NU2vyZChu4aodAuSpeAS/JkApFGvsPePjOn8h9as=
857+
github.com/turbot/steampipe-plugin-sdk/v5 v5.10.4 h1:h2Ye0ksL6KN6w2wh1O3mgKthLnyl4QPsTpUj47bRbvc=
858+
github.com/turbot/steampipe-plugin-sdk/v5 v5.10.4/go.mod h1:FzW+0aq4x1PoCkklCRx43dMrhxk7SYeWVHUb3pNFtFc=
859859
github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
860860
github.com/ulikunitz/xz v0.5.12 h1:37Nm15o69RwBkXM0J6A5OlE67RZTfzUxTj8fB3dfcsc=
861861
github.com/ulikunitz/xz v0.5.12/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=

kubernetes/utils.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ func getK8Config(ctx context.Context, d *plugin.QueryData) (clientcmd.ClientConf
373373

374374
if kubernetesConfig.ConfigPath != nil {
375375
configPaths = []string{*kubernetesConfig.ConfigPath}
376-
} else if kubernetesConfig.ConfigPaths != nil && len(kubernetesConfig.ConfigPaths) > 0 {
376+
} else if len(kubernetesConfig.ConfigPaths) > 0 {
377377
plugin.Logger(ctx).Warn("config_paths parameter is deprecated and will be removed after 31st July 2023, please use config_path instead.")
378378
configPaths = kubernetesConfig.ConfigPaths
379379
} else if v := os.Getenv("KUBECONFIG"); v != "" {
@@ -461,7 +461,7 @@ func getK8ConfigRaw(ctx context.Context, cc *connection.ConnectionCache, c *plug
461461

462462
if kubernetesConfig.ConfigPath != nil {
463463
configPaths = []string{*kubernetesConfig.ConfigPath}
464-
} else if kubernetesConfig.ConfigPaths != nil && len(kubernetesConfig.ConfigPaths) > 0 {
464+
} else if len(kubernetesConfig.ConfigPaths) > 0 {
465465
plugin.Logger(ctx).Warn("config_paths parameter is deprecated and will be removed after 31st July 2023, please use config_path instead.")
466466
configPaths = kubernetesConfig.ConfigPaths
467467
} else if v := os.Getenv("KUBECONFIG"); v != "" {

0 commit comments

Comments
 (0)