mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
feat(ingress): ingresses datatable with add/edit ingresses EE-2615 (#7672)
This commit is contained in:
parent
393d1fc91d
commit
ef1d648c07
68 changed files with 4938 additions and 61 deletions
|
@ -3,6 +3,7 @@ import { Box, Edit, Layers, Lock, Server } from 'react-feather';
|
|||
import { EnvironmentId } from '@/portainer/environments/types';
|
||||
import { Authorized } from '@/portainer/hooks/useUser';
|
||||
import Helm from '@/assets/ico/vendor/helm.svg?c';
|
||||
import Route from '@/assets/ico/route.svg?c';
|
||||
|
||||
import { DashboardLink } from '../items/DashboardLink';
|
||||
import { SidebarItem } from '../SidebarItem';
|
||||
|
@ -69,6 +70,14 @@ export function KubernetesSidebar({ environmentId }: Props) {
|
|||
data-cy="k8sSidebar-applications"
|
||||
/>
|
||||
|
||||
<SidebarItem
|
||||
to="kubernetes.ingresses"
|
||||
params={{ endpointId: environmentId }}
|
||||
label="Ingresses"
|
||||
data-cy="k8sSidebar-ingresses"
|
||||
icon={Route}
|
||||
/>
|
||||
|
||||
<SidebarItem
|
||||
to="kubernetes.configurations"
|
||||
params={{ endpointId: environmentId }}
|
||||
|
@ -97,7 +106,7 @@ export function KubernetesSidebar({ environmentId }: Props) {
|
|||
>
|
||||
<SidebarItem
|
||||
to="kubernetes.cluster.setup"
|
||||
params={{ id: environmentId }}
|
||||
params={{ endpointId: environmentId }}
|
||||
label="Setup"
|
||||
data-cy="k8sSidebar-setup"
|
||||
/>
|
||||
|
@ -110,7 +119,7 @@ export function KubernetesSidebar({ environmentId }: Props) {
|
|||
>
|
||||
<SidebarItem
|
||||
to="kubernetes.cluster.securityConstraint"
|
||||
params={{ id: environmentId }}
|
||||
params={{ endpointId: environmentId }}
|
||||
label="Security constraints"
|
||||
data-cy="k8sSidebar-securityConstraints"
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue