-
Notifications
You must be signed in to change notification settings - Fork 794
Fetch only necessary plugins #3416
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR optimizes the build process by fetching only necessary CNI plugins instead of all available plugins. It reduces the size of the final container image by limiting the copied plugins to only those actually required by the VPC CNI.
- Introduces a variable to specify core plugins needed for operation
- Modifies the copy command to only include the specified plugins
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
.github/workflows/update.yml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This workflow to update github actions is no longer needed as dependabot does this for us
* Bump github.com/samber/lo from 1.49.1 to 1.51.0 (#3386) Bumps [github.com/samber/lo](https://github.com/samber/lo) from 1.49.1 to 1.51.0. - [Release notes](https://github.com/samber/lo/releases) - [Commits](samber/lo@v1.49.1...v1.51.0) --- updated-dependencies: - dependency-name: github.com/samber/lo dependency-version: 1.51.0 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/client_model from 0.6.1 to 0.6.2 (#3385) Bumps [github.com/prometheus/client_model](https://github.com/prometheus/client_model) from 0.6.1 to 0.6.2. - [Release notes](https://github.com/prometheus/client_model/releases) - [Commits](prometheus/client_model@v0.6.1...v0.6.2) --- updated-dependencies: - dependency-name: github.com/prometheus/client_model dependency-version: 0.6.2 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 the aws-dependencies group with 11 updates (#3384) Bumps the aws-dependencies group with 11 updates: | Package | From | To | | --- | --- | --- | | [github.com/aws/amazon-vpc-resource-controller-k8s](https://github.com/aws/amazon-vpc-resource-controller-k8s) | `1.7.4` | `1.7.5` | | [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2) | `1.36.5` | `1.37.1` | | [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) | `1.29.17` | `1.30.2` | | [github.com/aws/aws-sdk-go-v2/feature/ec2/imds](https://github.com/aws/aws-sdk-go-v2) | `1.16.32` | `1.18.1` | | [github.com/aws/aws-sdk-go-v2/service/autoscaling](https://github.com/aws/aws-sdk-go-v2) | `1.54.0` | `1.55.1` | | [github.com/aws/aws-sdk-go-v2/service/cloudformation](https://github.com/aws/aws-sdk-go-v2) | `1.61.0` | `1.62.1` | | [github.com/aws/aws-sdk-go-v2/service/cloudwatch](https://github.com/aws/aws-sdk-go-v2) | `1.45.3` | `1.46.1` | | [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2) | `1.233.0` | `1.239.0` | | [github.com/aws/aws-sdk-go-v2/service/eks](https://github.com/aws/aws-sdk-go-v2) | `1.66.1` | `1.67.1` | | [github.com/aws/aws-sdk-go-v2/service/iam](https://github.com/aws/aws-sdk-go-v2) | `1.43.0` | `1.44.1` | | [github.com/aws/smithy-go](https://github.com/aws/smithy-go) | `1.22.4` | `1.22.5` | Updates `github.com/aws/amazon-vpc-resource-controller-k8s` from 1.7.4 to 1.7.5 - [Release notes](https://github.com/aws/amazon-vpc-resource-controller-k8s/releases) - [Commits](aws/amazon-vpc-resource-controller-k8s@v1.7.4...v1.7.5) Updates `github.com/aws/aws-sdk-go-v2` from 1.36.5 to 1.37.1 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json) - [Commits](aws/aws-sdk-go-v2@v1.36.5...v1.37.1) Updates `github.com/aws/aws-sdk-go-v2/config` from 1.29.17 to 1.30.2 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json) - [Commits](aws/aws-sdk-go-v2@config/v1.29.17...v1.30.2) Updates `github.com/aws/aws-sdk-go-v2/feature/ec2/imds` from 1.16.32 to 1.18.1 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/v1.18.1/CHANGELOG.md) - [Commits](aws/aws-sdk-go-v2@feature/ec2/imds/v1.16.32...v1.18.1) Updates `github.com/aws/aws-sdk-go-v2/service/autoscaling` from 1.54.0 to 1.55.1 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json) - [Commits](aws/aws-sdk-go-v2@service/s3/v1.54.0...service/s3/v1.55.1) Updates `github.com/aws/aws-sdk-go-v2/service/cloudformation` from 1.61.0 to 1.62.1 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json) - [Commits](aws/aws-sdk-go-v2@service/s3/v1.61.0...service/iot/v1.62.1) Updates `github.com/aws/aws-sdk-go-v2/service/cloudwatch` from 1.45.3 to 1.46.1 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json) - [Commits](aws/aws-sdk-go-v2@service/rds/v1.45.3...service/ssm/v1.46.1) Updates `github.com/aws/aws-sdk-go-v2/service/ec2` from 1.233.0 to 1.239.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json) - [Commits](aws/aws-sdk-go-v2@service/ec2/v1.233.0...service/ec2/v1.239.0) Updates `github.com/aws/aws-sdk-go-v2/service/eks` from 1.66.1 to 1.67.1 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json) - [Commits](aws/aws-sdk-go-v2@service/s3/v1.66.1...service/s3/v1.67.1) Updates `github.com/aws/aws-sdk-go-v2/service/iam` from 1.43.0 to 1.44.1 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json) - [Commits](aws/aws-sdk-go-v2@service/s3/v1.43.0...service/ecr/v1.44.1) Updates `github.com/aws/smithy-go` from 1.22.4 to 1.22.5 - [Release notes](https://github.com/aws/smithy-go/releases) - [Changelog](https://github.com/aws/smithy-go/blob/main/CHANGELOG.md) - [Commits](aws/smithy-go@v1.22.4...v1.22.5) --- updated-dependencies: - dependency-name: github.com/aws/amazon-vpc-resource-controller-k8s dependency-version: 1.7.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: aws-dependencies - dependency-name: github.com/aws/aws-sdk-go-v2 dependency-version: 1.37.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-dependencies - dependency-name: github.com/aws/aws-sdk-go-v2/config dependency-version: 1.30.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-dependencies - dependency-name: github.com/aws/aws-sdk-go-v2/feature/ec2/imds dependency-version: 1.18.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-dependencies - dependency-name: github.com/aws/aws-sdk-go-v2/service/autoscaling dependency-version: 1.55.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-dependencies - dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudformation dependency-version: 1.62.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-dependencies - dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudwatch dependency-version: 1.46.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-dependencies - dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2 dependency-version: 1.239.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-dependencies - dependency-name: github.com/aws/aws-sdk-go-v2/service/eks dependency-version: 1.67.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-dependencies - dependency-name: github.com/aws/aws-sdk-go-v2/service/iam dependency-version: 1.44.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-dependencies - dependency-name: github.com/aws/smithy-go dependency-version: 1.22.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: aws-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Adding release notes and chart update (#3399) * updating tags (#3400) * Add and configure soak tests workflow (#3404) * Add and configure soak tests workflow * Update soak tests workflow * Add and configure soak tests workflow (#3407) * Bump actions/checkout from 4.1.7 to 5.0.0 (#3409) Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 5.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@692973e...08c6903) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump helm.sh/helm/v3 from 3.18.4 to 3.18.5 (#3401) Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.18.4 to 3.18.5. - [Release notes](https://github.com/helm/helm/releases) - [Commits](helm/helm@v3.18.4...v3.18.5) --- updated-dependencies: - dependency-name: helm.sh/helm/v3 dependency-version: 3.18.5 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Removing pinning of golang version (#3411) * Bump the k8s-dependencies group across 1 directory with 5 updates (#3359) --- updated-dependencies: - dependency-name: k8s.io/api dependency-version: 0.33.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: k8s-dependencies - dependency-name: k8s.io/apimachinery dependency-version: 0.33.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: k8s-dependencies - dependency-name: k8s.io/cli-runtime dependency-version: 0.33.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: k8s-dependencies - dependency-name: k8s.io/client-go dependency-version: 0.33.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: k8s-dependencies - dependency-name: sigs.k8s.io/controller-runtime dependency-version: 0.21.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: k8s-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: update VPC IP resource limits (#3419) Co-authored-by: jaydeokar <[email protected]> * chore: update VPC IP resource limits (#3420) Co-authored-by: jaydeokar <[email protected]> * Fetch only necessary plugins (#3416) * chore: update VPC IP resource limits (#3422) Co-authored-by: jaydeokar <[email protected]> * chore: update VPC IP resource limits (#3438) Co-authored-by: jaydeokar <[email protected]> * Move npagent server port to unix socket (#3442) --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yash Thakkar <[email protected]> Co-authored-by: Supreeth <[email protected]> Co-authored-by: Jay Deokar <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
What type of PR is this? cleanup
Which issue does this PR fix?: Just pulls necessary plugins from container networking plugins
What does this PR do / Why do we need it?: Removes unnecessary plugins
Testing done on this change: N/A
Will this PR introduce any new dependencies?: N/A
Will this break upgrades or downgrades? Has updating a running cluster been tested?: N/A
Does this change require updates to the CNI daemonset config files to work?: N/A
Does this PR introduce any user-facing change?:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.