Skip to content

Commit

Permalink
Merge pull request #323 from andrewballantyne/cherry-pick-2.8.1-fix
Browse files Browse the repository at this point in the history
Add ca-bundle.crt to add cluster bundles into the dashboard
  • Loading branch information
andrewballantyne authored Mar 28, 2024
2 parents 207a1af + 0f3fe1d commit c8a311e
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 c8a311e

Please sign in to comment.