-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As part of this PR, we are adding support for fips enabled images which is needed for fips compliance This PR has following changes - Add docker file for fips enabled image - Add makefile commands to generate fips enabled binary - Add goreleaser support to release starboard-operator with fips enable image - fix deprecated parameter from goreleaser i.e Replacements
- Loading branch information
Showing
4 changed files
with
141 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
LABEL name="Starboard" \ | ||
vendor="Aqua Security Software Ltd." \ | ||
version="v0.15.13" \ | ||
summary="Starboard Operator." | ||
|
||
RUN microdnf install shadow-utils | ||
RUN useradd -u 10000 starboard | ||
WORKDIR /opt/bin/ | ||
COPY starboard-operator-fips /usr/local/bin/starboard-operator | ||
COPY LICENSE /licenses/LICENSE | ||
|
||
USER starboard | ||
|
||
ENTRYPOINT ["starboard-operator"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
//go:build fipsonly | ||
|
||
package tls | ||
|
||
import ( | ||
_ "crypto/tls/fipsonly" | ||
) |