Skip to content

Commit

Permalink
Merge pull request #24 from gkarthiks/feat/upgrade
Browse files Browse the repository at this point in the history
chore: upgrade the dependency versions
  • Loading branch information
gkarthiks authored Feb 10, 2021
2 parents ed33467 + e815db4 commit 4279a99
Show file tree
Hide file tree
Showing 4 changed files with 293 additions and 76 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## CHANGELOG

### v0.20.0
- upgraded to v0.20.2 for k8s.io module
- upgraded to v1.7.0 for logrus module

### v0.19.0
- expose restClient

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Declare a variable as `var k8s *discovery.K8s` and initialize it as `k8s, _ = di
<b>GetNamespace:</b> Gets the namespace of the running pod if running inside the cluster, if outside returns based on the `POD_NAMESPACE` environment variable. This environment variable also takes precedence if provided in a pod.

## Available client
*K8s Discovery* provides the client set for kubernetes client with hassle free configuration as well as the metrics client. The new addition `MetricsClientSet` can be used to query the metrics against the containers.
*K8s Discovery* provides the client set for kubernetes client with hassle free configuration as well as the metrics client. The `MetricsClientSet` can be used to query the metrics against the containers. There is also a `RestConfig` exposed via *discovery* to make use of the rest api.


## Example
Expand Down
9 changes: 4 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ module github.com/gkarthiks/k8s-discovery
go 1.14

require (
github.com/evanphx/json-patch v4.2.0+incompatible // indirect
github.com/sirupsen/logrus v1.4.2
github.com/stretchr/testify v1.4.0
k8s.io/client-go v0.18.8
k8s.io/metrics v0.18.8
github.com/sirupsen/logrus v1.7.0
github.com/stretchr/testify v1.6.1
k8s.io/client-go v0.20.2
k8s.io/metrics v0.20.2
)
Loading

0 comments on commit 4279a99

Please sign in to comment.