Граф коммитов

37 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] ed67ee3b42
chore: bump github.com/Azure/go-autorest/autorest/adal from 0.9.22 to 0.9.23 (#1415) 2023-03-22 18:19:18 -07:00
dependabot[bot] 7c3db6bfb8
chore: bump k8s.io/component-base from 0.23.14 to 0.23.17 (#1406)
* chore: bump k8s.io/component-base from 0.23.14 to 0.23.17

Bumps [k8s.io/component-base](https://github.com/kubernetes/component-base) from 0.23.14 to 0.23.17.
- [Release notes](https://github.com/kubernetes/component-base/releases)
- [Commits](https://github.com/kubernetes/component-base/compare/v0.23.14...v0.23.17)

---
updated-dependencies:
- dependency-name: k8s.io/component-base
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* run "go mod tidy"

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-03-16 23:17:42 +00:00
Anish Ramasekar a900113d71
ci: increase retries in identity validator (#1412) 2023-03-16 12:07:34 -07:00
dependabot[bot] 437104fe20
chore: bump github.com/Azure/go-autorest/autorest/adal from 0.9.21 to 0.9.22 (#1383)
* chore: bump github.com/Azure/go-autorest/autorest/adal

Bumps [github.com/Azure/go-autorest/autorest/adal](https://github.com/Azure/go-autorest) from 0.9.21 to 0.9.22.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/adal/v0.9.21...autorest/adal/v0.9.22)

---
updated-dependencies:
- dependency-name: github.com/Azure/go-autorest/autorest/adal
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* run "go mod tidy"

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-02-23 12:12:16 -08:00
dependabot[bot] c06f7ae268
chore: bump github.com/Azure/azure-sdk-for-go from 67.1.0+incompatible to 67.2.0+incompatible (#1377)
* chore: bump github.com/Azure/azure-sdk-for-go

Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go) from 67.1.0+incompatible to 67.2.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v67.1.0...v67.2.0)

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* run "go mod tidy"

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-12-20 01:31:47 +00:00
dependabot[bot] a2a949b1aa
chore: bump k8s.io/client-go from 0.23.14 to 0.23.15 (#1374)
* chore: bump k8s.io/client-go from 0.23.14 to 0.23.15

Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.23.14 to 0.23.15.
- [Release notes](https://github.com/kubernetes/client-go/releases)
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.23.14...v0.23.15)

---
updated-dependencies:
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* run "go mod tidy"

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-12-16 11:48:38 -08:00
Anish Ramasekar a827c4ad82
security: fix CVE-2022-41717 (#1376)
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-12-15 17:33:41 -08:00
dependabot[bot] d90a976cc0
chore: bump k8s.io/component-base from 0.23.0 to 0.23.14 (#1368)
Bumps [k8s.io/component-base](https://github.com/kubernetes/component-base) from 0.23.0 to 0.23.14.
- [Release notes](https://github.com/kubernetes/component-base/releases)
- [Commits](https://github.com/kubernetes/component-base/compare/v0.23.0...v0.23.14)

---
updated-dependencies:
- dependency-name: k8s.io/component-base
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 07:48:51 +00:00
dependabot[bot] dd34805b55
chore: bump github.com/Azure/azure-sdk-for-go from 57.2.0+incompatible to 67.1.0+incompatible (#1369)
* chore: bump github.com/Azure/azure-sdk-for-go

Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go) from 57.2.0+incompatible to 67.1.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v57.2.0...v67.1.0)

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* run "go mod tidy"

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-12-06 15:10:41 -08:00
dependabot[bot] d6144c953d
chore: bump github.com/Azure/go-autorest/autorest/adal (#1367)
Bumps [github.com/Azure/go-autorest/autorest/adal](https://github.com/Azure/go-autorest) from 0.9.18 to 0.9.21.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/adal/v0.9.18...autorest/adal/v0.9.21)

---
updated-dependencies:
- dependency-name: github.com/Azure/go-autorest/autorest/adal
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 19:41:02 +00:00
dependabot[bot] 9985318790
chore: bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#1364)
* chore: bump github.com/stretchr/testify from 1.8.0 to 1.8.1

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* run "go mod tidy"

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-11-30 00:48:54 +00:00
dependabot[bot] 1420656a41
chore: bump k8s.io/client-go from 0.23.0 to 0.23.14 (#1359)
* chore: bump k8s.io/client-go from 0.23.0 to 0.23.14

Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.23.0 to 0.23.14.
- [Release notes](https://github.com/kubernetes/client-go/releases)
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.23.0...v0.23.14)

---
updated-dependencies:
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* run "go mod tidy"

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-11-29 22:45:22 +00:00
dependabot[bot] 850c137dd3
chore: bump github.com/Azure/go-autorest/autorest from 0.11.23 to 0.11.28 (#1363)
* chore: bump github.com/Azure/go-autorest/autorest

Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.11.23 to 0.11.28.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.11.23...autorest/v0.11.28)

---
updated-dependencies:
- dependency-name: github.com/Azure/go-autorest/autorest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* run "go mod tidy"

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-11-29 03:36:13 +00:00
Anish Ramasekar dad37e36ae
security: fix CVE-2022-32149 (#1330)
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-10-20 13:44:25 -07:00
Anish Ramasekar 4eb388aa38
security: fix CVE-2022-27664 (#1326)
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-09-28 19:22:46 -07:00
Anish Ramasekar 166393df00
security: fix multiple CVEs (#1299)
* security: fix multiple CVEs

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

* chore: bump trivy verion and make it configurable

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-08-03 23:18:19 +00:00
Ernest Wong 5be63ef03a
chore: update to go 1.18 (#1273) 2022-05-03 12:31:17 -07:00
nikhil-bhat 8b1a2ba081
fix: delete conntrack entries after adding iptables rules on initialization (#1243)
Co-authored-by: nikhilbhat <nikhilbhat@microsoft.com>
2022-02-07 16:14:04 -08:00
Anish Ramasekar ba1c76df88
chore: update adal deps to v0.9.18 (#1208)
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2021-12-14 10:06:58 -08:00
Ernest Wong e7cda9a946
chore: upgrade various packages to remove jwt-go v3.2.0 dependency (#1205)
Signed-off-by: GitHub <noreply@github.com>
2021-12-10 23:20:38 +00:00
Anish Ramasekar 24c257fa4a
chore: bump dependencies to newer versions (#1159)
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2021-09-10 14:24:27 -07:00
Ernest Wong f5065b30e0
chore: bump golang.org/x/crypto to v0.0.0-20201216223049-8b5274cf687f (#1073)
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-05-19 21:17:50 +00:00
Anish Ramasekar 04554fdd60
fix: add case insensitive handler pattern (#1021)
* fix: add case insensitive handler pattern

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

* fix: use no cache for docker build

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2021-03-30 13:05:05 -07:00
Anish Ramasekar ce0fe962f6
chore: update k8s lib versions (#1010)
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2021-03-19 13:51:14 -07:00
Anish Ramasekar 9cd7c9cd6f
chore: update to go 1.16 (#983)
* chore: update to go 1.16

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

* fix: CVE-2021-24032

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2021-03-04 00:44:51 +00:00
Anish Ramasekar ba80f8f11c
feat: add configuration for custom user agent (#965) 2021-02-09 23:34:51 +00:00
Ernest Wong ba2402eb51
feat: support JSON logging format (#839)
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2020-10-27 13:37:06 -07:00
Ernest Wong ac604c7054
fix: fix miscellaneous linting problem in the codebase (#733)
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2020-08-14 13:13:02 -07:00
Ernest Wong 8a333d1ba4
feat: re-initialize MIC cloud client when cloud config is updated (#590)
* feat: re-initialize MIC cloud client when cloud config is updated

* Fix race condition in unit test

* Bump fsnotify to the latest release

* Address PR comments
2020-05-06 18:38:10 -04:00
Krishnakumar R(KK) 96e329b48f Quick go mod tidy 2020-03-20 18:22:51 -07:00
Krishnakumar R(KK) a7ccc29b8f Client-go update and type upgrade 2020-03-20 18:22:51 -07:00
Anish Ramasekar 2a7f424e06
switch to using patch instead of createorupdate (#522)
* switch to using patch instead of createorupdate

* patch only reqd ids

* fix tests

* Review feedback
2020-03-18 23:29:34 -07:00
Anish Ramasekar ad4a7c68dc move all packages to use klog (#449)
* move all packages to use klog

update log

update metrics with klog

* clean up go sum
2019-12-20 12:00:33 -08:00
Anish Ramasekar b64f812db1 Update metrics name and refactor (#451)
* Update metrics name and refactor

* update go mod

* add imds op views and update buckets

* update measurement

* update metrics readme

* update bucket size

* add unit tests
2019-12-09 23:08:04 -08:00
Surender Singh f6130135fc Prometheus metrics for Monitoring (#429)
* First draft to expose
prometheus metrics for monitoring

* Exposed metrics for Cloudprovider, k8s operations

* Moved to OpenCensus metrics and prometheusexporter

* Refactored, Added cloud operationduration metric

* adal auth operations to CloudProvider metrics.
Added ns,resource to nmi metrics
Added unit test for metrics

* Update auth.go

Fixing adalTokenFromMSIOperationName in auth
2019-12-06 17:18:08 -08:00
Krishnakumar R c619365c28
Add custom user agent identifier to the adal calls and update sdk/autorest libraries (#267)
* Update the azure sdk and autorest libraries to the latest

* Add custom user agent to adal calls

* go.sum changes after full build

* Address reivew comments and add UT
2019-07-01 12:19:42 -07:00
Brian Goff 1acf071e87 Use go modules (#179)
This fixes issues with CI just using `go get` or having to fetch
external tools (such as `dep`).
The issue with ci using `go get` (without using go modules) is it
fetches the master/HEAD from the upstream repo which can easily (and
currently is) break.
2019-03-19 08:43:25 -07:00