diff --git a/Taskfile.yaml b/Taskfile.yaml index a8cdf1316..cd33c7618 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -8,7 +8,7 @@ tasks: interactive: true cmds: - | - BASE_URL=devc.kloudlite.io + BASE_URL=dev.kloudlite.io COOKIE_DOMAIN=".kloudlite.io" GATEWAY_URL="http://gateway.kloudlite.svc.cluster.local" case {{.app}} in @@ -48,7 +48,7 @@ tasks: esac - REMIX_DEV_ORIGIN="https://{{.app}}$URL_SUFFIX.devc.kloudlite.io" + REMIX_DEV_ORIGIN="https://{{.app}}$URL_SUFFIX.dev.kloudlite.io" cp -r ./static/common/. ./public/ cp -r ./static/{{.app}}/. ./public/ @@ -121,12 +121,12 @@ tasks: case $(whoami) in "bikash") - BASE_URL=devc.kloudlite.io + BASE_URL=dev.kloudlite.io URL_SUFFIX=1 ;; "vision") - BASE_URL=devc.kloudlite.io + BASE_URL=dev.kloudlite.io URL_SUFFIX="-vision" ;; diff --git a/src/apps/console/components/logger.tsx b/src/apps/console/components/logger.tsx index f62a8cf0f..b30a3fe23 100644 --- a/src/apps/console/components/logger.tsx +++ b/src/apps/console/components/logger.tsx @@ -568,6 +568,10 @@ const useSocketLogs = ({ url, account, cluster, trackingId }: IuseLog) => { const m: { timestamp: string; message: string; + spec: { + podName: string; + containerName: string; + }; type: 'update' | 'error' | 'info'; } = JSON.parse(msg.data as string); @@ -592,7 +596,7 @@ const useSocketLogs = ({ url, account, cluster, trackingId }: IuseLog) => { setLogs((s) => [ ...s, { - pod_name: 'main', + pod_name: `${m.spec.podName}:${m.spec.containerName}`, message: m.message, timestamp: m.timestamp, }, diff --git a/src/apps/console/routes/_a+/teams.tsx b/src/apps/console/routes/_a+/teams.tsx index 1f890227d..d7fc64eb9 100644 --- a/src/apps/console/routes/_a+/teams.tsx +++ b/src/apps/console/routes/_a+/teams.tsx @@ -213,7 +213,7 @@ const Accounts = () => { const { isInvite, displayName, inviteToken } = account; return (