mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
remove cert-manager items from config
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
f924fb757c
commit
56e41a35a8
@ -39,24 +39,6 @@ export class Config extends React.Component {
|
||||
url: resourceQuotaURL({ query }),
|
||||
path: resourceQuotaRoute.path,
|
||||
},
|
||||
{
|
||||
title: <Trans>Certificates</Trans>,
|
||||
component: Certificates,
|
||||
url: certificatesURL({ query }),
|
||||
path: certificatesURL(),
|
||||
},
|
||||
{
|
||||
title: <Trans>Issuers</Trans>,
|
||||
component: Issuers,
|
||||
url: issuersURL({ query }),
|
||||
path: issuersURL(),
|
||||
},
|
||||
{
|
||||
title: <Trans>Cluster Issuers</Trans>,
|
||||
component: ClusterIssuers,
|
||||
url: clusterIssuersURL(),
|
||||
path: clusterIssuersURL(),
|
||||
},
|
||||
{
|
||||
title: <Trans>HPA</Trans>,
|
||||
component: HorizontalPodAutoscalers,
|
||||
@ -77,4 +59,4 @@ export class Config extends React.Component {
|
||||
</MainLayout>
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -137,6 +137,6 @@ export class CertificateDetails extends React.Component<Props> {
|
||||
}
|
||||
}
|
||||
|
||||
// apiManager.registerViews(certificatesApi, {
|
||||
// Details: CertificateDetails
|
||||
// })
|
||||
apiManager.registerViews(certificatesApi, {
|
||||
Details: CertificateDetails
|
||||
})
|
||||
|
||||
@ -11,7 +11,6 @@ import { Link } from "react-router-dom";
|
||||
import { Badge } from "../../badge";
|
||||
import { apiManager } from "../../../api/api-manager";
|
||||
import { Spinner } from "../../spinner";
|
||||
import { CertificateDetails } from "./certificate-details"
|
||||
|
||||
enum sortBy {
|
||||
name = "name",
|
||||
@ -102,6 +101,5 @@ export function CertificateMenu(props: KubeObjectMenuProps<Certificate>) {
|
||||
|
||||
apiManager.registerViews(certificatesApi, {
|
||||
List: Certificates,
|
||||
Menu: CertificateMenu,
|
||||
Details: CertificateDetails
|
||||
Menu: CertificateMenu
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user