Update UI references and urls to match cert-manager

This commit is contained in:
Carlos Monastyrski
2025-12-12 00:41:17 -03:00
parent f50a0ca838
commit 8a6b3054d2
39 changed files with 5276 additions and 5458 deletions

View File

@@ -1986,7 +1986,7 @@ export const projectServiceFactory = ({
if (project.type === ProjectType.SecretManager) {
projectTypeUrl = "secret-management";
} else if (project.type === ProjectType.CertificateManager) {
projectTypeUrl = "cert-management";
projectTypeUrl = "cert-manager";
}
const callbackPath = `/organizations/${project.orgId}/projects/${projectTypeUrl}/${project.id}/access-management?selectedTab=members&requesterEmail=${userDetails.email}`;

View File

@@ -61,9 +61,7 @@ export const PkiExpirationAlertTemplate = ({
</Section>
<Section className="text-center mt-[32px] mb-[16px]">
<BaseButton href={`${siteUrl}/projects/cert-management/${projectId}/policies`}>
View Certificate Alerts
</BaseButton>
<BaseButton href={`${siteUrl}/projects/cert-manager/${projectId}/policies`}>View Certificate Alerts</BaseButton>
</Section>
</BaseEmailWrapper>
);

View File

@@ -66,7 +66,7 @@ const PROJECT_TYPE_MENU_ITEMS = [
value: ProjectType.SecretManager
},
{
label: "Certificates Management",
label: "Certificates Manager",
value: ProjectType.CertificateManager
},
{

View File

@@ -294,36 +294,36 @@ export const ROUTE_PATHS = Object.freeze({
},
CertManager: {
CertAuthDetailsByIDPage: setRoute(
"/organizations/$orgId/projects/cert-management/$projectId/ca/$caId",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/ca/$caId"
"/organizations/$orgId/projects/cert-manager/$projectId/ca/$caId",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/ca/$caId"
),
SubscribersPage: setRoute(
"/organizations/$orgId/projects/cert-management/$projectId/subscribers",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/subscribers"
"/organizations/$orgId/projects/cert-manager/$projectId/subscribers",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/subscribers"
),
CertificateAuthoritiesPage: setRoute(
"/organizations/$orgId/projects/cert-management/$projectId/certificate-authorities",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/certificate-authorities"
"/organizations/$orgId/projects/cert-manager/$projectId/certificate-authorities",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/certificate-authorities"
),
AlertingPage: setRoute(
"/organizations/$orgId/projects/cert-management/$projectId/alerting",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/alerting"
"/organizations/$orgId/projects/cert-manager/$projectId/alerting",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/alerting"
),
PkiCollectionDetailsByIDPage: setRoute(
"/organizations/$orgId/projects/cert-management/$projectId/pki-collections/$collectionId",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/pki-collections/$collectionId"
"/organizations/$orgId/projects/cert-manager/$projectId/pki-collections/$collectionId",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/pki-collections/$collectionId"
),
PkiSubscriberDetailsByIDPage: setRoute(
"/organizations/$orgId/projects/cert-management/$projectId/subscribers/$subscriberName",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/subscribers/$subscriberName"
"/organizations/$orgId/projects/cert-manager/$projectId/subscribers/$subscriberName",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/subscribers/$subscriberName"
),
IntegrationsListPage: setRoute(
"/organizations/$orgId/projects/cert-management/$projectId/integrations",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/integrations/"
"/organizations/$orgId/projects/cert-manager/$projectId/integrations",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/integrations/"
),
PkiSyncDetailsByIDPage: setRoute(
"/organizations/$orgId/projects/cert-management/$projectId/integrations/$syncId",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/integrations/$syncId"
"/organizations/$orgId/projects/cert-manager/$projectId/integrations/$syncId",
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/integrations/$syncId"
)
},
Ssh: {

View File

@@ -61,7 +61,7 @@ export const getProjectBaseURL = (type: ProjectType) => {
case ProjectType.SecretManager:
return "/organizations/$orgId/projects/secret-management/$projectId";
case ProjectType.CertificateManager:
return "/organizations/$orgId/projects/cert-management/$projectId";
return "/organizations/$orgId/projects/cert-manager/$projectId";
default:
return `/organizations/$orgId/projects/${type}/$projectId` as const;
}
@@ -74,7 +74,7 @@ export const getProjectHomePage = (type: ProjectType, environments: ProjectEnv[]
case ProjectType.SecretManager:
return "/organizations/$orgId/projects/secret-management/$projectId/overview" as const;
case ProjectType.CertificateManager:
return "/organizations/$orgId/projects/cert-management/$projectId/policies" as const;
return "/organizations/$orgId/projects/cert-manager/$projectId/policies" as const;
case ProjectType.SecretScanning:
return `/organizations/$orgId/projects/${type}/$projectId/data-sources` as const;
case ProjectType.PAM:
@@ -88,7 +88,7 @@ export const getProjectTitle = (type: ProjectType) => {
const titleConvert = {
[ProjectType.SecretManager]: "Secrets Management",
[ProjectType.KMS]: "Key Management",
[ProjectType.CertificateManager]: "Cert Management",
[ProjectType.CertificateManager]: "Cert Manager",
[ProjectType.SSH]: "SSH",
[ProjectType.SecretScanning]: "Secret Scanning",
[ProjectType.PAM]: "PAM"

View File

@@ -43,7 +43,7 @@ export const PkiManagerLayout = () => {
<Tabs value="selected">
<TabList className="border-b-0">
<Link
to="/organizations/$orgId/projects/cert-management/$projectId/policies"
to="/organizations/$orgId/projects/cert-manager/$projectId/policies"
params={{
orgId: currentOrg.id,
projectId: currentProject.id
@@ -52,7 +52,7 @@ export const PkiManagerLayout = () => {
{({ isActive }) => <Tab value={isActive ? "selected" : ""}>Certificates</Tab>}
</Link>
<Link
to="/organizations/$orgId/projects/cert-management/$projectId/certificate-authorities"
to="/organizations/$orgId/projects/cert-manager/$projectId/certificate-authorities"
params={{
orgId: currentOrg.id,
projectId: currentProject.id
@@ -65,7 +65,7 @@ export const PkiManagerLayout = () => {
)}
</Link>
<Link
to="/organizations/$orgId/projects/cert-management/$projectId/alerting"
to="/organizations/$orgId/projects/cert-manager/$projectId/alerting"
params={{
orgId: currentOrg.id,
projectId: currentProject.id
@@ -74,7 +74,7 @@ export const PkiManagerLayout = () => {
{({ isActive }) => <Tab value={isActive ? "selected" : ""}>Alerting</Tab>}
</Link>
<Link
to="/organizations/$orgId/projects/cert-management/$projectId/integrations"
to="/organizations/$orgId/projects/cert-manager/$projectId/integrations"
params={{
orgId: currentOrg.id,
projectId: currentProject.id
@@ -83,7 +83,7 @@ export const PkiManagerLayout = () => {
{({ isActive }) => <Tab value={isActive ? "selected" : ""}>Integrations</Tab>}
</Link>
<Link
to="/organizations/$orgId/projects/cert-management/$projectId/app-connections"
to="/organizations/$orgId/projects/cert-manager/$projectId/app-connections"
params={{
orgId: currentOrg.id,
projectId: currentProject.id
@@ -95,7 +95,7 @@ export const PkiManagerLayout = () => {
<>
{(subscription.pkiLegacyTemplates || hasExistingSubscribers) && (
<Link
to="/organizations/$orgId/projects/cert-management/$projectId/subscribers"
to="/organizations/$orgId/projects/cert-manager/$projectId/subscribers"
params={{
orgId: currentOrg.id,
projectId: currentProject.id
@@ -108,7 +108,7 @@ export const PkiManagerLayout = () => {
)}
{(subscription.pkiLegacyTemplates || hasExistingTemplates) && (
<Link
to="/organizations/$orgId/projects/cert-management/$projectId/certificate-templates"
to="/organizations/$orgId/projects/cert-manager/$projectId/certificate-templates"
params={{
orgId: currentOrg.id,
projectId: currentProject.id
@@ -124,7 +124,7 @@ export const PkiManagerLayout = () => {
</>
)}
<Link
to="/organizations/$orgId/projects/cert-management/$projectId/access-management"
to="/organizations/$orgId/projects/cert-manager/$projectId/access-management"
params={{
orgId: currentOrg.id,
projectId: currentProject.id
@@ -144,7 +144,7 @@ export const PkiManagerLayout = () => {
)}
</Link>
<Link
to="/organizations/$orgId/projects/cert-management/$projectId/audit-logs"
to="/organizations/$orgId/projects/cert-manager/$projectId/audit-logs"
params={{
orgId: currentOrg.id,
projectId: currentProject.id
@@ -153,7 +153,7 @@ export const PkiManagerLayout = () => {
{({ isActive }) => <Tab value={isActive ? "selected" : ""}>Audit Logs</Tab>}
</Link>
<Link
to="/organizations/$orgId/projects/cert-management/$projectId/settings"
to="/organizations/$orgId/projects/cert-manager/$projectId/settings"
params={{
orgId: currentOrg.id,
projectId: currentProject.id

View File

@@ -82,7 +82,7 @@ export const PkiCollectionModal = ({ popUp, handlePopUpToggle }: Props) => {
});
navigate({
to: "/organizations/$orgId/projects/cert-management/$projectId/pki-collections/$collectionId",
to: "/organizations/$orgId/projects/cert-manager/$projectId/pki-collections/$collectionId",
params: {
orgId: currentOrg.id,
projectId,

View File

@@ -66,7 +66,7 @@ export const PkiCollectionTable = ({ handlePopUpOpen }: Props) => {
key={`pki-collection-${pkiCollection.id}`}
onClick={() =>
navigate({
to: "/organizations/$orgId/projects/cert-management/$projectId/pki-collections/$collectionId",
to: "/organizations/$orgId/projects/cert-manager/$projectId/pki-collections/$collectionId",
params: {
orgId: currentOrg.id,
projectId,

View File

@@ -3,7 +3,7 @@ import { createFileRoute } from "@tanstack/react-router";
import { AlertingPage } from "./AlertingPage";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/alerting"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/alerting"
)({
component: AlertingPage,
beforeLoad: ({ context }) => {

View File

@@ -79,7 +79,7 @@ const Page = () => {
handlePopUpClose("deleteCa");
navigate({
to: "/organizations/$orgId/projects/cert-management/$projectId/certificate-authorities",
to: "/organizations/$orgId/projects/cert-manager/$projectId/certificate-authorities",
params: {
orgId: currentOrg.id,
projectId
@@ -100,7 +100,7 @@ const Page = () => {
isAllowed ? (
<div className="mx-auto mb-6 w-full max-w-8xl">
<Link
to="/organizations/$orgId/projects/cert-management/$projectId/certificate-authorities"
to="/organizations/$orgId/projects/cert-manager/$projectId/certificate-authorities"
params={{
orgId: currentOrg.id,
projectId

View File

@@ -3,7 +3,7 @@ import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { CertAuthDetailsByIDPage } from "./CertAuthDetailsByIDPage";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/ca/$caId"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/ca/$caId"
)({
component: CertAuthDetailsByIDPage,
beforeLoad: ({ context, params }) => {
@@ -13,7 +13,7 @@ export const Route = createFileRoute(
{
label: "Certificate Authorities",
link: linkOptions({
to: "/organizations/$orgId/projects/cert-management/$projectId/certificate-authorities",
to: "/organizations/$orgId/projects/cert-manager/$projectId/certificate-authorities",
params: {
orgId: params.orgId,
projectId: params.projectId

View File

@@ -96,7 +96,7 @@ export const CaTable = ({ handlePopUpOpen }: Props) => {
onClick={() =>
canReadCa &&
navigate({
to: "/organizations/$orgId/projects/cert-management/$projectId/ca/$caId",
to: "/organizations/$orgId/projects/cert-manager/$projectId/ca/$caId",
params: {
orgId: currentOrg.id,
projectId: currentProject.id,

View File

@@ -3,7 +3,7 @@ import { createFileRoute } from "@tanstack/react-router";
import { CertificateAuthoritiesPage } from "./CertificateAuthoritiesPage";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/certificate-authorities"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/certificate-authorities"
)({
component: CertificateAuthoritiesPage,
beforeLoad: ({ context }) => {

View File

@@ -15,7 +15,7 @@ const IntegrationsListPageQuerySchema = z.object({
});
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/integrations/"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/integrations/"
)({
component: IntegrationsListPage,
validateSearch: zodValidator(IntegrationsListPageQuerySchema),

View File

@@ -64,7 +64,7 @@ export const PkiCollectionPage = () => {
});
handlePopUpClose("deletePkiCollection");
navigate({
to: "/organizations/$orgId/projects/cert-management/$projectId/policies",
to: "/organizations/$orgId/projects/cert-manager/$projectId/policies",
params: {
orgId: currentOrg.id,
projectId: params.projectId
@@ -77,7 +77,7 @@ export const PkiCollectionPage = () => {
{data && (
<div className="mx-auto mb-6 w-full max-w-8xl">
<Link
to="/organizations/$orgId/projects/cert-management/$projectId/policies"
to="/organizations/$orgId/projects/cert-manager/$projectId/policies"
params={{
orgId: currentOrg.id,
projectId: params.projectId

View File

@@ -3,7 +3,7 @@ import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { PkiCollectionDetailsByIDPage } from "./PkiCollectionDetailsByIDPage";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/pki-collections/$collectionId"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/pki-collections/$collectionId"
)({
component: PkiCollectionDetailsByIDPage,
beforeLoad: ({ context, params }) => {
@@ -13,7 +13,7 @@ export const Route = createFileRoute(
{
label: "Certificate Collections",
link: linkOptions({
to: "/organizations/$orgId/projects/cert-management/$projectId/policies",
to: "/organizations/$orgId/projects/cert-manager/$projectId/policies",
params: {
orgId: params.orgId,
projectId: params.projectId

View File

@@ -64,7 +64,7 @@ const Page = () => {
handlePopUpClose("deletePkiSubscriber");
navigate({
to: "/organizations/$orgId/projects/cert-management/$projectId/subscribers",
to: "/organizations/$orgId/projects/cert-manager/$projectId/subscribers",
params: {
orgId: currentOrg.id,
projectId
@@ -77,7 +77,7 @@ const Page = () => {
{data && (
<div className="mx-auto mb-6 w-full max-w-8xl">
<Link
to="/organizations/$orgId/projects/cert-management/$projectId/subscribers"
to="/organizations/$orgId/projects/cert-manager/$projectId/subscribers"
params={{
orgId: currentOrg.id,
projectId

View File

@@ -3,7 +3,7 @@ import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { PkiSubscriberDetailsByIDPage } from "./PkiSubscriberDetailsByIDPage";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/subscribers/$subscriberName"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/subscribers/$subscriberName"
)({
component: PkiSubscriberDetailsByIDPage,
beforeLoad: ({ context, params }) => {
@@ -13,7 +13,7 @@ export const Route = createFileRoute(
{
label: "Subscribers",
link: linkOptions({
to: "/organizations/$orgId/projects/cert-management/$projectId/subscribers",
to: "/organizations/$orgId/projects/cert-manager/$projectId/subscribers",
params: {
orgId: params.orgId,
projectId: params.projectId

View File

@@ -77,7 +77,7 @@ export const PkiSubscribersTable = ({ handlePopUpOpen }: Props) => {
key={`pki-subscriber-${subscriber.id}`}
onClick={() =>
navigate({
to: "/organizations/$orgId/projects/cert-management/$projectId/subscribers/$subscriberName",
to: "/organizations/$orgId/projects/cert-manager/$projectId/subscribers/$subscriberName",
params: {
orgId: currentOrg.id,
projectId: currentProject.id,

View File

@@ -3,7 +3,7 @@ import { createFileRoute } from "@tanstack/react-router";
import { PkiSubscribersPage } from "./PkiSubscribersPage";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/subscribers/"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/subscribers/"
)({
component: PkiSubscribersPage,
beforeLoad: ({ context }) => {

View File

@@ -5,7 +5,7 @@ import { IntegrationsListPageTabs } from "@app/types/integrations";
import { PkiSyncDetailsByIDPage } from "./index";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/integrations/$syncId"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/integrations/$syncId"
)({
component: PkiSyncDetailsByIDPage,
beforeLoad: ({ context, params }) => {
@@ -15,7 +15,7 @@ export const Route = createFileRoute(
{
label: "Integrations",
link: linkOptions({
to: "/organizations/$orgId/projects/cert-management/$projectId/integrations",
to: "/organizations/$orgId/projects/cert-manager/$projectId/integrations",
params,
search: {
selectedTab: IntegrationsListPageTabs.PkiSyncs

View File

@@ -3,7 +3,7 @@ import { createFileRoute } from "@tanstack/react-router";
import { PkiTemplateListPage } from "./PkiTemplateListPage";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/certificate-templates/"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/certificate-templates/"
)({
component: PkiTemplateListPage,
beforeLoad: ({ context }) => {

View File

@@ -50,12 +50,12 @@ export const PoliciesPage = () => {
return (
<div className="mx-auto flex h-full flex-col justify-between bg-bunker-800 text-white">
<Helmet>
<title>{t("common.head-title", { title: "Certificate Management" })}</title>
<title>{t("common.head-title", { title: "Certificate Manager" })}</title>
</Helmet>
<div className="mx-auto mb-6 w-full max-w-8xl">
<PageHeader
scope={ProjectType.CertificateManager}
title="Certificate Management"
title="Certificate Manager"
description="Streamline certificate management by creating and maintaining templates, profiles, and certificates in one place"
/>

View File

@@ -3,7 +3,7 @@ import { createFileRoute } from "@tanstack/react-router";
import { PoliciesPage } from "./PoliciesPage";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/policies"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/policies"
)({
component: PoliciesPage,
beforeLoad: ({ context }) => {

View File

@@ -3,7 +3,7 @@ import { createFileRoute } from "@tanstack/react-router";
import { SettingsPage } from "./SettingsPage";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/settings"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/settings"
)({
component: SettingsPage,
beforeLoad: ({ context }) => {

View File

@@ -8,7 +8,7 @@ import { PkiManagerLayout } from "@app/layouts/PkiManagerLayout";
import { ProjectSelect } from "@app/layouts/ProjectLayout/components/ProjectSelect";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout"
)({
component: PkiManagerLayout,
beforeLoad: async ({ params, context }) => {

View File

@@ -33,7 +33,7 @@ export const ProjectsPage = () => {
const hasChildRoute = matches.some(
(match) =>
match.pathname.includes("/secret-management/") ||
match.pathname.includes("/cert-management/") ||
match.pathname.includes("/cert-manager/") ||
match.pathname.includes("/kms/") ||
match.pathname.includes("/pam/") ||
match.pathname.includes("/ssh/") ||

View File

@@ -13,7 +13,7 @@ export const OrgProductSelectSection = () => {
enabled: true
},
pkiProductEnabled: {
name: "Certificate Management",
name: "Certificate Manager",
enabled: true
},
kmsProductEnabled: {

View File

@@ -49,7 +49,7 @@ const PROJECT_TYPE_MENU_ITEMS = [
value: ProjectType.SecretManager
},
{
label: "Certificates Management",
label: "Certificates Manager",
value: ProjectType.CertificateManager
},
{

View File

@@ -1,6 +1,7 @@
import { LogInIcon, PackageOpenIcon } from "lucide-react";
import { Badge, UnstableButton } from "@app/components/v3";
import { PAM_RESOURCE_TYPE_MAP, TPamAccount } from "@app/hooks/api/pam";
import { LogInIcon, PackageOpenIcon } from "lucide-react";
type Props = {
account: TPamAccount;

View File

@@ -12,7 +12,7 @@ const AccessControlPageQuerySchema = z.object({
});
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/access-management"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/access-management"
)({
component: AccessControlPage,
validateSearch: zodValidator(AccessControlPageQuerySchema),

View File

@@ -3,7 +3,7 @@ import { createFileRoute } from "@tanstack/react-router";
import { AppConnectionsPage } from "./AppConnectionsPage";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/app-connections"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/app-connections"
)({
component: AppConnectionsPage,
beforeLoad: ({ context }) => {

View File

@@ -3,7 +3,7 @@ import { createFileRoute } from "@tanstack/react-router";
import { AuditLogsPage } from "./AuditLogsPage";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/audit-logs"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/audit-logs"
)({
component: AuditLogsPage,
beforeLoad: ({ context }) => {

View File

@@ -5,7 +5,7 @@ import { ProjectAccessControlTabs } from "@app/types/project";
import { GroupDetailsByIDPage } from "./GroupDetailsByIDPage";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/groups/$groupId"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/groups/$groupId"
)({
component: GroupDetailsByIDPage,
beforeLoad: ({ context, params }) => {
@@ -15,7 +15,7 @@ export const Route = createFileRoute(
{
label: "Access Control",
link: linkOptions({
to: "/organizations/$orgId/projects/cert-management/$projectId/access-management",
to: "/organizations/$orgId/projects/cert-manager/$projectId/access-management",
params: {
orgId: params.orgId,
projectId: params.projectId

View File

@@ -5,7 +5,7 @@ import { ProjectAccessControlTabs } from "@app/types/project";
import { IdentityDetailsByIDPage } from "./IdentityDetailsByIDPage";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/identities/$identityId"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/identities/$identityId"
)({
component: IdentityDetailsByIDPage,
beforeLoad: ({ context, params }) => {
@@ -15,7 +15,7 @@ export const Route = createFileRoute(
{
label: "Access Control",
link: linkOptions({
to: "/organizations/$orgId/projects/cert-management/$projectId/access-management",
to: "/organizations/$orgId/projects/cert-manager/$projectId/access-management",
params: {
orgId: params.orgId,
projectId: params.projectId

View File

@@ -5,7 +5,7 @@ import { ProjectAccessControlTabs } from "@app/types/project";
import { MemberDetailsByIDPage } from "./MemberDetailsByIDPage";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/members/$membershipId"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/members/$membershipId"
)({
component: MemberDetailsByIDPage,
beforeLoad: ({ context, params }) => {
@@ -15,7 +15,7 @@ export const Route = createFileRoute(
{
label: "Access Control",
link: linkOptions({
to: "/organizations/$orgId/projects/cert-management/$projectId/access-management",
to: "/organizations/$orgId/projects/cert-manager/$projectId/access-management",
params: {
orgId: params.orgId,
projectId: params.projectId

View File

@@ -5,7 +5,7 @@ import { ProjectAccessControlTabs } from "@app/types/project";
import { RoleDetailsBySlugPage } from "./RoleDetailsBySlugPage";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-management/$projectId/_cert-manager-layout/roles/$roleSlug"
"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/roles/$roleSlug"
)({
component: RoleDetailsBySlugPage,
beforeLoad: ({ context, params }) => {
@@ -15,7 +15,7 @@ export const Route = createFileRoute(
{
label: "Access Control",
link: linkOptions({
to: "/organizations/$orgId/projects/cert-management/$projectId/access-management",
to: "/organizations/$orgId/projects/cert-manager/$projectId/access-management",
params: {
orgId: params.orgId,
projectId: params.projectId

File diff suppressed because it is too large Load Diff

View File

@@ -272,7 +272,7 @@ const secretManagerIntegrationsRedirect = route("/integrations", [
)
]);
const certManagerRoutes = route("/organizations/$orgId/projects/cert-management/$projectId", [
const certManagerRoutes = route("/organizations/$orgId/projects/cert-manager/$projectId", [
layout("cert-manager-layout", "cert-manager/layout.tsx", [
route("/policies", "cert-manager/PoliciesPage/route.tsx"),
route("/subscribers", [