diff --git a/frontend/src/pages/Profile/index.tsx b/frontend/src/pages/Profile/index.tsx index 20b29b4fe..80e14f2f2 100644 --- a/frontend/src/pages/Profile/index.tsx +++ b/frontend/src/pages/Profile/index.tsx @@ -1,17 +1,17 @@ -import React from "react"; import { Box, createStyles, Theme, Typography, WithStyles } from "@material-ui/core"; -import { withUserAuth, WithUserAuthProps } from "hoc/withUserAuth"; -import { KPanel } from "widgets/KPanel"; import Avatar from "@material-ui/core/Avatar"; -import { withNamespace, WithNamespaceProps } from "hoc/withNamespace"; -import { BlankTargetLink } from "widgets/BlankTargetLink"; -import { Alert, AlertTitle } from "@material-ui/lab"; import Button from "@material-ui/core/Button"; -import { BasePage } from "pages/BasePage"; -import { CollapseWrapper } from "widgets/CollapseWrapper"; import withStyles from "@material-ui/core/styles/withStyles"; +import { Alert, AlertTitle } from "@material-ui/lab"; import { stopImpersonating } from "api/realApi/index"; import { push } from "connected-react-router"; +import { withNamespace, WithNamespaceProps } from "hoc/withNamespace"; +import { withUserAuth, WithUserAuthProps } from "hoc/withUserAuth"; +import { BasePage } from "pages/BasePage"; +import React from "react"; +import { BlankTargetLink } from "widgets/BlankTargetLink"; +import { CollapseWrapper } from "widgets/CollapseWrapper"; +import { KPanel } from "widgets/KPanel"; const styles = (theme: Theme) => createStyles({ @@ -77,10 +77,9 @@ class ProfilePageRaw extends React.PureComponent { }; private renderApplicationRole = () => { - const { applications } = this.props; const roles = this.getApplicationRoles(); - if (applications.length > 0 && roles.length === 0) { + if (roles.length === 0) { return ( No Role diff --git a/frontend/src/pages/SSO/index.tsx b/frontend/src/pages/SSO/index.tsx index 0d0f01e83..26fcbbc18 100644 --- a/frontend/src/pages/SSO/index.tsx +++ b/frontend/src/pages/SSO/index.tsx @@ -141,6 +141,8 @@ class SSOPageRaw extends React.PureComponent { temporary admin email account which is generated when you setup your cluster. Since the account doesn't have expired time and doesn't support multi factor authentication, it's not safe for long time usage. +
+ Before the deletion, please test your new connector to confirm your settings are correct.
{" "} diff --git a/kalm-install-kalmoperatorconfig.yaml b/kalm-install-kalmoperatorconfig.yaml index cad39a8fa..11f57648a 100644 --- a/kalm-install-kalmoperatorconfig.yaml +++ b/kalm-install-kalmoperatorconfig.yaml @@ -23,4 +23,4 @@ metadata: namespace: kalm-operator name: kalmoperatorconfig-sample spec: - kalmVersion: v0.1.0-rc.11 + kalmVersion: v0.1.0-rc.12 diff --git a/kalm-install-operator.yaml b/kalm-install-operator.yaml index a358bb21e..b792eb7bc 100644 --- a/kalm-install-operator.yaml +++ b/kalm-install-operator.yaml @@ -392,7 +392,7 @@ spec: - --enable-leader-election command: - /manager - image: kalmhq/kalm-operator:v0.1.0-rc.11 + image: kalmhq/kalm-operator:v0.1.0-rc.12 imagePullPolicy: Always name: manager resources: