opendatahub-io / kubeflow

Machine Learning Toolkit for Kubernetes
Apache License 2.0
10 stars 32 forks source link

Build fips-ready #362

Open jiridanek opened 3 months ago

jiridanek commented 3 months ago

/kind feature

Why you need this feature:

Apparently, to build for fips, it's necessary to do

RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -tags strictfipsruntime -a -o manager main.go

(from xxx://data-hub/rhods-cpaas-midstream/-/commit/d7be5e82b3f7dfdda0458dbc89d40b430ae2ef1f by @sutaakar)

https://developers.redhat.com/articles/2022/05/31/your-go-application-fips-compliant

jiridanek commented 3 months ago

This is actually timely, see https://redhat-internal.slack.com/archives/C05NXTEHLGY/p1712136020868139 (if you have perms), otherwise just know that the bosses want to get this soon-ish.