{isMinikube && (
-
+
)}
{isOpenShift && (
-
+
)}
{title}
diff --git a/src/main/frontend/src/dashboard/SideBar.js b/src/main/frontend/src/dashboard/SideBar.js
index 03b360e..afc535f 100644
--- a/src/main/frontend/src/dashboard/SideBar.js
+++ b/src/main/frontend/src/dashboard/SideBar.js
@@ -18,10 +18,38 @@ import React, {useRef, useLayoutEffect} from 'react';
import {connect} from 'react-redux';
import {useMatch} from 'react-router-dom';
import * as apis from '../apis';
-import i from '../components/icons';
import {useUiSidebar} from '../redux';
import * as crd from '../customresourcedefinitions';
-import {Icon, Link} from '../components';
+import {
+ Icon,
+ Link,
+ EndpointsIcon,
+ ClusterRoleBindingIcon,
+ ClusterRoleIcon,
+ ConfigMapIcon,
+ CronJobIcon,
+ CustomResourceDefinitionIcon,
+ DaemonSetIcon,
+ DeploymentConfigIcon,
+ DeploymentIcon,
+ HorizontalPodAutoscalerIcon,
+ IngressIcon,
+ JobIcon,
+ KubernetesIcon,
+ NamespaceIcon,
+ NodeIcon,
+ PersistentVolumeClaimIcon,
+ PersistentVolumeIcon,
+ PodIcon,
+ ReplicaSetIcon,
+ RoleIcon,
+ RouteIcon,
+ SecretIcon,
+ ServiceAccountIcon,
+ ServiceIcon,
+ StatefulSetIcon,
+ YAKDLogo
+} from '../components';
import './SideBar.css';
@@ -117,13 +145,13 @@ const NavSection = ({
Search
-
+
Home
-
+
Nodes
-
+
Namespaces
@@ -133,35 +161,35 @@ const NavSection = ({
label='Workloads'
icon='fa-cubes'
>
-
+
Pods
-
+
Deployments
{isOpenShift && (
-
+
Deployment Configs
)}
-
+
StatefulSets
-
+
CronJobs
-
+
Jobs
-
+
DaemonSets
-
+
Replication Controllers
Horizontal Pod Autoscalers
@@ -172,17 +200,17 @@ const NavSection = ({
label='Network'
icon='fa-network-wired'
>
-
+
Services
-
+
Endpoints
-
+
Ingresses
{isOpenShift && (
-
+
Routes
)}
@@ -193,10 +221,10 @@ const NavSection = ({
label='Configuration'
icon='fa-list'
>
-
+
ConfigMaps
-
+
Secrets
@@ -206,12 +234,12 @@ const NavSection = ({
label='Storage'
icon='fa-database'
>
-
+
PersistentVolumes
PersistentVolume Claims
@@ -222,19 +250,19 @@ const NavSection = ({
label='Access Control'
icon='fa-shield-alt'
>
-
+
ServiceAccounts
-
+
ClusterRoles
-
+
ClusterRoleBindings
-
+
Roles
-
+
Secrets
@@ -246,7 +274,7 @@ const NavSection = ({
>
Definitions
@@ -300,7 +328,7 @@ export const SideBar = connect(mapStateToProps)(({
variant={Link.variants.none}
className='flex flex-col items-center'
>
-
+
Kubernetes Dashboard
diff --git a/src/main/frontend/src/deployments/DeploymentsCard.js b/src/main/frontend/src/deployments/DeploymentsCard.js
index 4b8c65b..0080360 100644
--- a/src/main/frontend/src/deployments/DeploymentsCard.js
+++ b/src/main/frontend/src/deployments/DeploymentsCard.js
@@ -16,8 +16,7 @@
*/
import React from 'react';
import {connect} from 'react-redux';
-import {StatusCard} from '../components';
-import icons from '../components/icons';
+import {StatusCard, DeploymentIcon} from '../components';
import {selectors} from './';
const mapStateToProps = ({deployments}) => ({
@@ -35,7 +34,7 @@ export const DeploymentsCard = connect(mapStateToProps)(({
{
@@ -28,7 +27,7 @@ export const NodesCard = ({...properties}) => {
}
+ actions={isMinikube && }
body={