mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
fix: only embed Azure roots on darwin (#25312)
Partially reverts #25136 for non-darwin platforms. In general we want to avoid pinning trust roots to embedded Certs, since that limits operational flexibility. If Azure changes CAs, operators should, at most, be able to update the OS trust store to keep Coder working correctly. Embedding roots means we need to upgrade the Coder binary. Since Coder Server on macOS is not really supported for production use, embedding only in that case to ease development and testing is OK.
This commit is contained in:
@@ -54,6 +54,8 @@ extend-exclude = [
|
||||
"tailnet/testdata/**",
|
||||
"site/src/pages/SetupPage/countries.tsx",
|
||||
"provisioner/terraform/testdata/**",
|
||||
"coderd/azureidentity/roots_darwin.go",
|
||||
"coderd/azureidentity/azureidentity.go",
|
||||
# notifications' golden files confuse the detector because of quoted-printable encoding
|
||||
"coderd/notifications/testdata/**",
|
||||
"agent/agentcontainers/testdata/devcontainercli/**",
|
||||
|
||||
Reference in New Issue
Block a user