import { Box, Edit, Layers, Lock, Network, Server } from 'lucide-react'; import { EnvironmentId } from '@/react/portainer/environments/types'; import { Authorized } from '@/react/hooks/useUser'; import { isBE } from '@/react/portainer/feature-flags/feature-flags.service'; import { DashboardLink } from '../items/DashboardLink'; import { SidebarItem } from '../SidebarItem'; import { VolumesLink } from '../items/VolumesLink'; import { SidebarParent } from '../SidebarItem/SidebarParent'; import { KubectlShellButton } from './KubectlShell'; interface Props { environmentId: EnvironmentId; } export function KubernetesSidebar({ environmentId }: Props) { return ( <>