mirror of
https://github.com/luxfi/netrunner.git
synced 2026-07-27 00:04:23 +00:00
engines/k8s/engine.go: //go:build k8s. k8s.io/client-go transitively pulls google.golang.org/protobuf via k8s.io/kube-openapi → gnostic-models. Opt-in build: go build -tags k8s ./... to enable Kubernetes deploy support. Default builds skip the file entirely. scripts/check-no-grpc.sh: extend the CI gate to fail on any of: - google.golang.org/grpc - grpc-ecosystem/grpc-gateway - google.golang.org/protobuf - go.opentelemetry.io/proto/otlp/* - k8s.io/client-go Each has a documented -tags escape hatch. The default-tag dep graph must be clean of all five. Results: bash scripts/check-no-grpc.sh → ok binary size: 37.9 MB → 26.7 MB (-11.2 MB) strings grep protobuf|grpc → 0 hits Per the project rule: ZAP internal, ZIP edge. ZAP is now the only wire protocol the default netrunner binary contains.