Skip to content

Commit

Permalink
Merge pull request #456 from rhmdnd/fips-or-die
Browse files Browse the repository at this point in the history
Build the operator for FIPS enabled environments
  • Loading branch information
openshift-ci[bot] authored Oct 26, 2023
2 parents e16c46a + 20af934 commit dae8105
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions cmd/manager/fips.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//go:build fips_enabled
// +build fips_enabled

// FIXME(rhmdnd): This was copied from openshift/boilerplate. We should
// consider migrating our `make` targets to using boilerplate, which include
// handy approaches and tools to enabling things consistently across
// operators.

package manager

import (
_ "crypto/tls/fipsonly"
"fmt"
)

func init() {
fmt.Println("***** Starting with FIPS crypto enabled *****")
}

0 comments on commit dae8105

Please sign in to comment.