Commit 309b82e
feat: Add FIPS 140-3 support using Microsoft Go and Azure Linux
Switch to Microsoft Go and Azure Linux for FIPS 140-3 compliance in
OpenShift OADP 1.5 HyperShift deployments.
Changes:
- Replace builder with mcr.microsoft.com/oss/go/microsoft/golang:1.25-azurelinux3.0
- Replace runtime with mcr.microsoft.com/azurelinux/distroless/base:3.0
- Add GOFIPS140=latest and CGO_ENABLED=1 for Microsoft's FIPS implementation
- Add documentation explaining Azure Linux FIPS configuration
- Switch from strictfipsruntime approach to Microsoft's FIPS module
Why Microsoft Go + Azure Linux distroless:
- Microsoft's Go fork provides integrated FIPS support for Azure environments
- Azure Linux 3.0 distroless base is FIPS 140-3 compliant with SCOSSL/SymCrypt
- Minimal attack surface with distroless
- Consistency with Velero and Azure plugin implementations
- Follows ARO-HCP reference architecture
Plugin processes inherit GODEBUG=fips140=on from the parent Velero
process, so no runtime environment variable configuration needed.
Reference implementation: https://github.com/Azure/ARO-HCP/blob/main/frontend/Dockerfile
Companion to: openshift/velero#492
Companion to: openshift/velero-plugin-for-microsoft-azure#125
Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
Signed-off-by: Tiger Kaovilai <passawit.kaovilai@gmail.com>1 parent ff1e47f commit 309b82e
1 file changed
Lines changed: 19 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
1 | 12 | | |
2 | | - | |
| 13 | + | |
| 14 | + | |
3 | 15 | | |
4 | 16 | | |
5 | 17 | | |
6 | | - | |
7 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
8 | 23 | | |
9 | 24 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 25 | + | |
13 | 26 | | |
14 | 27 | | |
15 | 28 | | |
| |||
0 commit comments