Skip to content

Commit

Permalink
fix(kiali): allow unauthenticated kiali due is read-only mod (#1872)
Browse files Browse the repository at this point in the history
fix(kiali): allow unauthenticated kiali due is read-only mode

---------

Co-authored-by: Alberto Gutierrez <aljesusg>
  • Loading branch information
aljesusg authored Jul 8, 2024
1 parent 21578e1 commit 1990d97
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions plugins/kiali-backend/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ export const kialiPlugin = createBackendPlugin({
catalogApi: catalogServiceRef,
},
async init({ http, logger, config }) {
const router = await createRouter({
logger,
config,
http.use(await createRouter({ logger, config }));
http.addAuthPolicy({
path: '/status',
allow: 'unauthenticated',
});
http.addAuthPolicy({
path: '/proxy',
allow: 'unauthenticated',
});
http.use(router);
},
});
},
Expand Down

0 comments on commit 1990d97

Please sign in to comment.