File tree Expand file tree Collapse file tree 3 files changed +20
-4
lines changed
Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ IMG_ORG ?= app-sre
1515IMG ?= $(IMG_REGISTRY ) /$(IMG_ORG ) /${BASE_IMG}
1616PKG_IMG ?= $(IMG_REGISTRY ) /$(IMG_ORG ) /${BASE_PKG_IMG}
1717
18- SYNCSET_GENERATOR_IMAGE := registry.ci.openshift.org/openshift/release:golang-1.18
18+ SYNCSET_GENERATOR_IMAGE := registry.ci.openshift.org/openshift/release:golang-1.19
1919
2020BINARY_FILE ?= build/_output/webhooks
2121
@@ -28,9 +28,9 @@ unexport GOFLAGS
2828GOOS? =linux
2929GOARCH? =amd64
3030GOFLAGS_MOD?=-mod =mod
31- GOENV=GOOS =${GOOS} GOARCH=${GOARCH} CGO_ENABLED=0 GOFLAGS=${GOFLAGS_MOD}
31+ GOENV=GOOS =${GOOS} GOARCH=${GOARCH} CGO_ENABLED=0 GOEXPERIMENT=boringcrypto GOFLAGS=${GOFLAGS_MOD}
3232
33- GOBUILDFLAGS=-gcflags="all=-trimpath =${GOPATH}" -asmflags="all=-trimpath=${GOPATH}"
33+ GOBUILDFLAGS=-gcflags="all=-trimpath =${GOPATH}" -asmflags="all=-trimpath=${GOPATH}" -tags="fips_enabled"
3434
3535# do not include this comma-separated list of hooks into the syncset
3636SELECTOR_SYNC_SET_HOOK_EXCLUDES ?= debug-hook
Original file line number Diff line number Diff line change 1- FROM registry.ci.openshift.org/openshift/release:rhel-8-release- golang-1.18-openshift-4.12 AS builder
1+ FROM registry.ci.openshift.org/openshift/release:golang-1.19 AS builder
22
33RUN mkdir -p /workdir
44WORKDIR /workdir
Original file line number Diff line number Diff line change 1+ //go:build fips_enabled
2+ // +build fips_enabled
3+
4+ // BOILERPLATE GENERATED -- DO NOT EDIT
5+ // Run 'make ensure-fips' to regenerate
6+
7+ package main
8+
9+ import (
10+ _ "crypto/tls/fipsonly"
11+ "fmt"
12+ )
13+
14+ func init () {
15+ fmt .Println ("***** Starting with FIPS crypto enabled *****" )
16+ }
You can’t perform that action at this time.
0 commit comments