A Kubernetes operator that bridges Hardware Security Module (HSM) data storage with Kubernetes Secrets, providing true secret portability th
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix?

+4 -4
+2 -2
Dockerfile
··· 37 37 38 38 # Build with CGO enabled for PKCS#11 support 39 39 # Strip debug symbols to reduce binary size (-s -w) 40 - RUN CGO_ENABLED=1 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -ldflags="-s -w" -o hsm-operator cmd/hsm-operator/main.go 40 + RUN CGO_ENABLED=1 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -tags udev -ldflags="-s -w" -o hsm-operator cmd/hsm-operator/main.go 41 41 42 42 # Build test utility for manual testing/debugging 43 - RUN CGO_ENABLED=1 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -ldflags="-s -w" -o test cmd/test/main.go 43 + RUN CGO_ENABLED=1 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -tags udev -ldflags="-s -w" -o test cmd/test/main.go 44 44 45 45 # Stage 2: Debian Trixie Slim (minimal but functional for USB hardware interaction) 46 46 # Provides proper runtime environment for libudev USB device enumeration
+1 -1
internal/discovery/usb_cgo.go
··· 1 - //go:build cgo 1 + //go:build udev 2 2 3 3 /* 4 4 Copyright 2025.
+1 -1
internal/discovery/usb_nocgo.go
··· 1 - //go:build !cgo 1 + //go:build !udev 2 2 3 3 /* 4 4 Copyright 2025.