k8snetworkplumbingwg / sriov-cni

DPDK & SR-IOV CNI plugin
Apache License 2.0
298 stars 147 forks source link

Optionally avoid sleeping in `entrypoint.sh` #289

Closed zeeke closed 5 months ago

zeeke commented 6 months ago

Container image might be used as initcontainers in kubernetes Pods. In such scenarios, it's important for the image entrypoint to exits once the copy logic is completed. Otherwise, the pod would stuck in a PodInitializing phase.

Add Makefile rule image-test to check the integrity of the entrypoint.sh script.

https://kubernetes.io/docs/concepts/workloads/pods/init-containers/

refs:

coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 7802222930


Totals Coverage Status
Change from base Build 7076950983: 0.0%
Covered Lines: 563
Relevant Lines: 1225

💛 - Coveralls