Skip to content

Commit 75095b2

Browse files
committed
remove heapster from project dependencies
1 parent d4aeca0 commit 75095b2

File tree

6 files changed

+3
-211
lines changed

6 files changed

+3
-211
lines changed

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ require (
3030
k8s.io/api v0.0.0-20190816222004-e3a6b8045b0b
3131
k8s.io/apimachinery v0.0.0-20190816221834-a9f1d8a9c101
3232
k8s.io/client-go v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible
33-
k8s.io/heapster v0.0.0-20180704153620-b25f8a16208f
3433
k8s.io/kubernetes v1.14.6
3534
k8s.io/test-infra v0.0.0-20190914015041-e1cbc3ccd91c
3635
)

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -695,8 +695,6 @@ k8s.io/client-go v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible h1:A5pdeNsAy
695695
k8s.io/client-go v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s=
696696
k8s.io/code-generator v0.0.0-20190311093542-50b561225d70/go.mod h1:MYiN+ZJZ9HkETbgVZdWw2AsuAi9PZ4V80cwfuf2axe8=
697697
k8s.io/gengo v0.0.0-20190306031000-7a1b7fb0289f/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
698-
k8s.io/heapster v0.0.0-20180704153620-b25f8a16208f h1:TEdSQIRnEe+5ajIJY/JZOfZvQO0w7aWmcmv/ZrZcTF4=
699-
k8s.io/heapster v0.0.0-20180704153620-b25f8a16208f/go.mod h1:h1uhptVXMwC8xtZBYsPXKVi8fpdlYkTs6k949KozGrM=
700698
k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk=
701699
k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ=
702700
k8s.io/klog v0.4.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I=

vendor/k8s.io/heapster/common/kubernetes/configs.go renamed to pkg/exporters/k8sexporter/problemclient/configs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package kubernetes
15+
package problemclient
1616

1717
import (
1818
"fmt"
@@ -57,7 +57,7 @@ func getConfigOverrides(uri *url.URL) (*kubeClientCmd.ConfigOverrides, error) {
5757
return &kubeConfigOverride, nil
5858
}
5959

60-
func GetKubeClientConfig(uri *url.URL) (*kube_rest.Config, error) {
60+
func getKubeClientConfig(uri *url.URL) (*kube_rest.Config, error) {
6161
var (
6262
kubeConfig *kube_rest.Config
6363
err error

pkg/exporters/k8sexporter/problemclient/problem_client.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import (
3434
"k8s.io/client-go/tools/record"
3535

3636
"github.com/golang/glog"
37-
"k8s.io/heapster/common/kubernetes"
3837
"k8s.io/node-problem-detector/cmd/options"
3938
"k8s.io/node-problem-detector/pkg/version"
4039
)
@@ -68,7 +67,7 @@ func NewClientOrDie(npdo *options.NodeProblemDetectorOptions) Client {
6867
// we have checked it is a valid URI after command line argument is parsed.:)
6968
uri, _ := url.Parse(npdo.ApiServerOverride)
7069

71-
cfg, err := kubernetes.GetKubeClientConfig(uri)
70+
cfg, err := getKubeClientConfig(uri)
7271
if err != nil {
7372
panic(err)
7473
}

vendor/k8s.io/heapster/LICENSE

Lines changed: 0 additions & 201 deletions
This file was deleted.

vendor/modules.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -650,9 +650,6 @@ k8s.io/client-go/util/connrotation
650650
k8s.io/client-go/util/flowcontrol
651651
k8s.io/client-go/util/homedir
652652
k8s.io/client-go/util/keyutil
653-
# k8s.io/heapster v0.0.0-20180704153620-b25f8a16208f
654-
## explicit
655-
k8s.io/heapster/common/kubernetes
656653
# k8s.io/klog v0.4.0
657654
## explicit; go 1.12
658655
k8s.io/klog

0 commit comments

Comments
 (0)