From b593189a9a1b835717c32ed2a669e5ed721a9a4a Mon Sep 17 00:00:00 2001 From: Andreas Dinauer Date: Sat, 20 Dec 2025 14:00:56 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Minor=20improvements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/Deployment.ts | 10 +++- classes/Secret.ts | 4 +- components/deployment/DeploymentComponent.vue | 7 ++- .../deployment/view/DeploymentViewPopup.vue | 60 ++++++++++++++++++- .../inspect/resources/ConfigMapList.vue | 4 +- .../CustomResourceDefinitionList.vue | 4 +- .../inspect/resources/DeploymentList.vue | 6 +- components/inspect/resources/IngressList.vue | 2 +- .../inspect/resources/NamespaceList.vue | 2 +- components/inspect/resources/NodeList.vue | 4 +- .../resources/PersistentVolumeClaimList.vue | 4 +- .../resources/PersistentVolumeList.vue | 4 +- components/inspect/resources/PodList.vue | 4 +- components/inspect/resources/SecretList.vue | 8 ++- components/inspect/resources/ServiceList.vue | 4 +- .../inspect/resources/StatefulSetList.vue | 4 +- components/secrets/SecretComponent.vue | 8 ++- components/secrets/view/SecretViewPopup.vue | 40 +++++++++++++ components/ui/UiMask.vue | 2 +- package-lock.json | 15 +++++ package.json | 4 ++ .../inspect/[resource]/[namespace].vue | 4 +- 22 files changed, 170 insertions(+), 34 deletions(-) create mode 100644 components/secrets/view/SecretViewPopup.vue diff --git a/classes/Deployment.ts b/classes/Deployment.ts index aa3393a..2e83c87 100644 --- a/classes/Deployment.ts +++ b/classes/Deployment.ts @@ -5,11 +5,19 @@ export class Deployment implements HasMetadata { constructor ( public metadata: Metadata, - public spec: DeploymentSpec + public spec: DeploymentSpec, + public status: DeploymentStatus ) {} } export class DeploymentSpec { replicas?: number; +} + +export class DeploymentStatus +{ + replicas?: number; + availableReplicas?: number; + readyReplicas?: number; } \ No newline at end of file diff --git a/classes/Secret.ts b/classes/Secret.ts index 738832b..b556306 100644 --- a/classes/Secret.ts +++ b/classes/Secret.ts @@ -4,6 +4,8 @@ import type { HasMetadata } from "./repo/ResourceRepo"; export class Secret implements HasMetadata { constructor ( - public metadata: Metadata + public metadata: Metadata, + public type: string, + public data?: Record, ) { } } \ No newline at end of file diff --git a/components/deployment/DeploymentComponent.vue b/components/deployment/DeploymentComponent.vue index 77fd0d3..4f5d01f 100644 --- a/components/deployment/DeploymentComponent.vue +++ b/components/deployment/DeploymentComponent.vue @@ -1,6 +1,6 @@ \ No newline at end of file diff --git a/components/deployment/view/DeploymentViewPopup.vue b/components/deployment/view/DeploymentViewPopup.vue index e1978d1..89c9a3f 100644 --- a/components/deployment/view/DeploymentViewPopup.vue +++ b/components/deployment/view/DeploymentViewPopup.vue @@ -1,11 +1,67 @@ \ No newline at end of file diff --git a/components/inspect/resources/ServiceList.vue b/components/inspect/resources/ServiceList.vue index 5f92f9c..c78e7a7 100644 --- a/components/inspect/resources/ServiceList.vue +++ b/components/inspect/resources/ServiceList.vue @@ -6,9 +6,9 @@

Namespace

Age

Type

-

Aktionen

+

Actions

- + diff --git a/components/inspect/resources/StatefulSetList.vue b/components/inspect/resources/StatefulSetList.vue index 09f27cd..70708e3 100644 --- a/components/inspect/resources/StatefulSetList.vue +++ b/components/inspect/resources/StatefulSetList.vue @@ -5,9 +5,9 @@

Name

Namespace

Replicas

-

Aktionen

+

Actions

- + diff --git a/components/secrets/SecretComponent.vue b/components/secrets/SecretComponent.vue index bdbdd89..06ba5b2 100644 --- a/components/secrets/SecretComponent.vue +++ b/components/secrets/SecretComponent.vue @@ -1,22 +1,28 @@