kas: pass FIPS_MODE env var to build
What does this MR do?
We want to conditionally build some code in FIPS mode in Introduce conditional build depending on build tag (gitlab-org/cluster-integration/gitlab-agent!1308 - merged). For that I'm making some changes in this MR and in Use FIPS_MODE as a flag to pass extra build tag (gitlab-org/cluster-integration/gitlab-agent!1311 - merged).
Do we need to make similar changes in Omnibus?
Related issues
OCS should be disabled when Gitlab-Agent is on ... (gitlab-org/gitlab#439441 - closed)
Checklist
See Definition of done.
For anything in this list which will not be completed, please provide a reason in the MR discussion
Required
-
Merge Request Title, and Description are up to date, accurate, and descriptive -
MR targeting the appropriate branch -
MR has a green pipeline on GitLab.com -
When ready for review, MR is labeled "~workflow::ready for review" per the Distribution MR workflow
Expected (please provide an explanation if not completing)
-
Test plan indicating conditions for success has been posted and passes -
Documentation created/updated -
Integration tests added to GitLab QA -
The impact any change in container size has should be evaluated -
New dependencies are managed with dependencies.io
Edited by Jason Plum