Skip to content

Commit

Permalink
Add ca-bundle.crt to add cluster bundles into the dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
lucferbux authored and andrewballantyne committed Mar 28, 2024
1 parent 207a1af commit 0f3fe1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ app.listen({ port: PORT, host: IP }, (err) => {
process.exit(1); // eslint-disable-line
}
// Load CA bundle used in our API calls
// tls-ca-bundle.pem is the default CA bundle used by the system in CentOS/RHEL
// ca.crt is the default CA bundle provided by the service account for kubernetes
// service-ca.crt is the CA bundle provided by the service account for kubernetes used by prometheus
// odh-ca-bundle.crt and odh-trusted-ca-bundle.crt are the CA bundles provided by the ODH platform
const caPaths = [
'/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem',
'/var/run/secrets/kubernetes.io/serviceaccount/ca.crt',
'/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt',
'/etc/pki/tls/certs/odh-ca-bundle.crt',
Expand Down

0 comments on commit 0f3fe1d

Please sign in to comment.