Skip to content

Commit

Permalink
certgraphanalysis: include ondisk certs in ElideProxyCADetails
Browse files Browse the repository at this point in the history
  • Loading branch information
vrutkovs committed Jun 11, 2024
1 parent d2c7ae1 commit d98911a
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ var (
isProxyCA = true
}

for _, loc := range caBundle.Spec.OnDiskLocations {
if strings.Contains(loc.Path, "/trusted-ca-bundle/") || strings.Contains(loc.Path, "/etc/pki/tls") {
isProxyCA = true
continue
}
}

if !isProxyCA {
return
}
Expand Down

0 comments on commit d98911a

Please sign in to comment.