forked from github/multus-cni
* Add validating admission webhook HTTP server application * Handle incoming AdmissionReview requests and validate their correctness, handle errors if any * Validate Network Attachment Definition objects * Send AdmissionReview response with allowed/denied decision and its reason * In case of any other errors (malformed HTTP request, empty body, etc.) send proper HTTP error code * Use TLS encryption * Add some basic unit tests for Network Attachment Definition objects validation * Build Docker image with webhook application Signed-off-by: Przemyslaw Lal <przemyslawx.lal@intel.com>
27 lines
565 B
YAML
27 lines
565 B
YAML
package: github.com/intel/multus-cni/webhook
|
|
import:
|
|
- package: github.com/containernetworking/cni
|
|
version: ~0.7.0-alpha1
|
|
subpackages:
|
|
- libcni
|
|
- package: github.com/intel/multus-cni
|
|
version: ~3.1.0
|
|
subpackages:
|
|
- logging
|
|
- types
|
|
- package: k8s.io/api
|
|
subpackages:
|
|
- admission/v1beta1
|
|
- package: k8s.io/apimachinery
|
|
subpackages:
|
|
- pkg/apis/meta/v1
|
|
- pkg/runtime
|
|
- pkg/runtime/serializer
|
|
testImport:
|
|
- package: github.com/onsi/ginkgo
|
|
version: ~1.6.0
|
|
subpackages:
|
|
- extensions/table
|
|
- package: github.com/onsi/gomega
|
|
version: ~1.4.1
|