forked from aws/amazon-vpc-cni-k8s
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of using a shell script as the entrypoint for the CNI image and relying on that shell script to copy the CNI plugin binary to a host volume, perform those steps using an initContainer and set the CNI aws-k8s-agent binary to be the CNI image's CMD. This has the benefit of not embedding setup steps in either a shell script that needs to be copied into the target image /app directory nor hard-coded into the aws-k8s-agent's main.go file (which was performing the copy of the CNI plugin binary to a host volume). See discussion in aws#706 (comment) for more details.
- Loading branch information
Showing
4 changed files
with
48 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.