Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Centralize leaked ENI cleanup #418

Merged
merged 11 commits into from
May 1, 2024
Merged

feat: Centralize leaked ENI cleanup #418

merged 11 commits into from
May 1, 2024

Commits on Apr 30, 2024

  1. Call DisassociateTrunkInterface before deleting branch ENI (aws#372)

    * Call DisassociateTrunkInterface before deleting branch ENI
    sushrk committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    c2e47a2 View commit details
    Browse the repository at this point in the history
  2. feat: Centralize leaked ENI cleanup (aws#374)

    * feat: centralized eni cleanup
    sushrk committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    69def10 View commit details
    Browse the repository at this point in the history
  3. Merge master into eni-cleanup (aws#385)

    * fix: paginate DescribeNetworkInterfaces with deep filters (aws#375)
    
    * fix: paginate DescribeNetworkInterfaces with deep filters
    
    * update metrics and address review comments
    
    * minor updates to address comments
    
    * Bump github.com/aws/aws-sdk-go from 1.49.13 to 1.50.29 (aws#380)
    
    Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.49.13 to 1.50.29.
    - [Release notes](https://github.com/aws/aws-sdk-go/releases)
    - [Commits](aws/aws-sdk-go@v1.49.13...v1.50.29)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/aws/aws-sdk-go
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * Bump k8s.io/client-go from 0.29.1 to 0.29.2 (aws#377)
    
    Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.29.1 to 0.29.2.
    - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
    - [Commits](kubernetes/client-go@v0.29.1...v0.29.2)
    
    ---
    updated-dependencies:
    - dependency-name: k8s.io/client-go
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * Bump github.com/prometheus/common from 0.46.0 to 0.49.0 (aws#378)
    
    Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.46.0 to 0.49.0.
    - [Release notes](https://github.com/prometheus/common/releases)
    - [Commits](prometheus/common@v0.46.0...v0.49.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/prometheus/common
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * Repo controlled build go version (aws#381)
    
    * update golang version (aws#383)
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Jason Du <[email protected]>
    3 people committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    cf1c49b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    35ed890 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2602461 View commit details
    Browse the repository at this point in the history
  6. update protobuf to 1.33.0 (aws#387)

    haouc authored and sushrk committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    bc1df55 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cdbdf4d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    30fca5f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2b1e29b View commit details
    Browse the repository at this point in the history
  10. remove DisassociateAllBranchENIs as it is not useful (aws#400)

    * remove DisassociateAllBranchENIs as it is not useful
    
    * skip deletion success log for NotFound ENI
    
    * fix govulncheck
    sushrk committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    5b9de0f View commit details
    Browse the repository at this point in the history
  11. Merge master branch into eni-cleanup (aws#416)

    * fix: paginate DescribeNetworkInterfaces with deep filters (aws#375)
    
    * fix: paginate DescribeNetworkInterfaces with deep filters
    
    * update metrics and address review comments
    
    * minor updates to address comments
    
    * Bump github.com/aws/aws-sdk-go from 1.49.13 to 1.50.29 (aws#380)
    
    Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.49.13 to 1.50.29.
    - [Release notes](https://github.com/aws/aws-sdk-go/releases)
    - [Commits](aws/aws-sdk-go@v1.49.13...v1.50.29)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/aws/aws-sdk-go
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * Bump k8s.io/client-go from 0.29.1 to 0.29.2 (aws#377)
    
    Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.29.1 to 0.29.2.
    - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
    - [Commits](kubernetes/client-go@v0.29.1...v0.29.2)
    
    ---
    updated-dependencies:
    - dependency-name: k8s.io/client-go
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * Bump github.com/prometheus/common from 0.46.0 to 0.49.0 (aws#378)
    
    Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.46.0 to 0.49.0.
    - [Release notes](https://github.com/prometheus/common/releases)
    - [Commits](prometheus/common@v0.46.0...v0.49.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/prometheus/common
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * Repo controlled build go version (aws#381)
    
    * update golang version (aws#383)
    
    * update protobuf to 1.33.0 (aws#387)
    
    * pin envtest version due to an upstream bug (aws#390)
    
    * Bump k8s.io/client-go from 0.29.2 to 0.29.3 (aws#392)
    
    Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.29.2 to 0.29.3.
    - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
    - [Commits](kubernetes/client-go@v0.29.2...v0.29.3)
    
    ---
    updated-dependencies:
    - dependency-name: k8s.io/client-go
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * Bump github.com/aws/amazon-vpc-cni-k8s from 1.16.0 to 1.17.1 (aws#393)
    
    Bumps [github.com/aws/amazon-vpc-cni-k8s](https://github.com/aws/amazon-vpc-cni-k8s) from 1.16.0 to 1.17.1.
    - [Release notes](https://github.com/aws/amazon-vpc-cni-k8s/releases)
    - [Changelog](https://github.com/aws/amazon-vpc-cni-k8s/blob/master/CHANGELOG.md)
    - [Commits](aws/amazon-vpc-cni-k8s@v1.16.0...v1.17.1)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/aws/amazon-vpc-cni-k8s
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * Bump github.com/prometheus/common from 0.49.0 to 0.51.1 (aws#395)
    
    Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.49.0 to 0.51.1.
    - [Release notes](https://github.com/prometheus/common/releases)
    - [Commits](prometheus/common@v0.49.0...v0.51.1)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/prometheus/common
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * Bump github.com/aws/aws-sdk-go from 1.50.29 to 1.51.12 (aws#397)
    
    Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.50.29 to 1.51.12.
    - [Release notes](https://github.com/aws/aws-sdk-go/releases)
    - [Commits](aws/aws-sdk-go@v1.50.29...v1.51.12)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/aws/aws-sdk-go
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * add github action to run gosec static analysis (aws#398)
    
    * add github action to run gosec static analysis
    
    * install gosec
    
    * update golang and dependency to fix CVE (aws#401)
    
    * revert pagination and call DescribeNetworkInterfaces with vpcID or subnetID filter
    
    * Revert "fix: paginate DescribeNetworkInterfaces with deep filters (aws#375)"
    
    This reverts commit b5699de.
    
    * call DescribeNetworkInterfaces with vpcID or subnetID filter
    
    * update EC2 supported instance types (aws#402)
    
    * remove global exclusion for G108,G114 and add nosec in code (aws#404)
    
    * Update controller_auth_proxy_patch.yaml (aws#405)
    
    Update the reference from gcr.io to registry.k8s.io
    
    >  kube-rbac-proxy is moving to registry.k8s.io/kubebuilder/kube-rbac-proxy (from gcr.io/kubebuilder/kube-rbac-proxy) because GCR is being sunset. We need to update these references.
    
    * Fix log which causes panic (aws#407)
    
    * Fix log which causes panic
    
    * Consistent key name
    
    * consistent naming
    
    * run go mod tidy
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Jason Du <[email protected]>
    Co-authored-by: Hao Zhou <[email protected]>
    Co-authored-by: Senthil Kumaran <[email protected]>
    Co-authored-by: Garvin Pang <[email protected]>
    6 people committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    0514790 View commit details
    Browse the repository at this point in the history