From b291f41d0e3959a26f934b4b05c0d19d550444e2 Mon Sep 17 00:00:00 2001 From: JUNGEUNJUNG Date: Mon, 23 Sep 2024 15:44:50 +0900 Subject: [PATCH] Pod yaml generator add modal, UI Update --- applicationFE/src/api/yaml.ts | 2 +- .../generate/components/configmapForm.vue | 8 +- .../src/views/generate/components/hpaForm.vue | 18 +- .../src/views/generate/components/podForm.vue | 391 ++++++++++-------- .../views/generate/components/podModal.vue | 45 ++ .../views/generate/components/serviceForm.vue | 29 +- 6 files changed, 300 insertions(+), 193 deletions(-) create mode 100644 applicationFE/src/views/generate/components/podModal.vue diff --git a/applicationFE/src/api/yaml.ts b/applicationFE/src/api/yaml.ts index baa5d8f..16e34f6 100644 --- a/applicationFE/src/api/yaml.ts +++ b/applicationFE/src/api/yaml.ts @@ -3,7 +3,7 @@ import type { Pod, Hpa, Deployment, Service, ConfigMap } from "../views/type/typ // POD YAML export const generateYamlPod = (param:Pod) => { - return request.post('/yaml/pod', param) + return request.post('/manifest/v1/generator/yaml/pod', param) } // SERVICE YAML diff --git a/applicationFE/src/views/generate/components/configmapForm.vue b/applicationFE/src/views/generate/components/configmapForm.vue index 737b8b6..127b5c4 100644 --- a/applicationFE/src/views/generate/components/configmapForm.vue +++ b/applicationFE/src/views/generate/components/configmapForm.vue @@ -6,15 +6,15 @@
- +
- +
- +
@@ -44,7 +44,7 @@
- +
diff --git a/applicationFE/src/views/generate/components/hpaForm.vue b/applicationFE/src/views/generate/components/hpaForm.vue index 8907948..21fb637 100644 --- a/applicationFE/src/views/generate/components/hpaForm.vue +++ b/applicationFE/src/views/generate/components/hpaForm.vue @@ -6,15 +6,15 @@
- +
- +
- +
@@ -48,35 +48,35 @@
- +
- +
- +
- +
- +
- +
diff --git a/applicationFE/src/views/generate/components/podForm.vue b/applicationFE/src/views/generate/components/podForm.vue index 09a8dc7..7ab8d28 100644 --- a/applicationFE/src/views/generate/components/podForm.vue +++ b/applicationFE/src/views/generate/components/podForm.vue @@ -1,157 +1,180 @@