Skip to content

Commit

Permalink
Fix the NIM Tile issue on prod (#3485)
Browse files Browse the repository at this point in the history
* Improve error message in log

* Fix the Service Account permissions
  • Loading branch information
andrewballantyne authored Nov 15, 2024
1 parent 41e1fcf commit fbeb889
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/routes/api/integrations/nim/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = async (fastify: KubeFastifyInstance) => {
});
}
} else {
fastify.log.error(`An unexpected error occurred: ${e.message || e}`);
fastify.log.error(`An unexpected error occurred: ${e.response.body?.message}`);
reply.send({
isInstalled: false,
isAppEnabled: false,
Expand Down
12 changes: 12 additions & 0 deletions manifests/core-bases/base/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,15 @@ rules:
- delete
resources:
- modelregistries
- apiGroups:
- nim.opendatahub.io
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
resources:
- accounts

0 comments on commit fbeb889

Please sign in to comment.