From 8574dd2371c2b47f1e1cb002a7c4428b64e17795 Mon Sep 17 00:00:00 2001 From: Ali <83188384+testA113@users.noreply.github.com> Date: Tue, 31 Jan 2023 10:03:21 +1300 Subject: [PATCH] fix(edge stacks): allow viewing existing kompose stacks [EE-4967] (#8405) Co-authored-by: testa113 Co-authored-by: Matt Hook --- .../editEdgeStackForm.html | 10 +++++++-- .../editEdgeStackFormController.js | 21 +++++++++++++------ app/edge/react/components/index.ts | 1 + .../create/createApplication.html | 13 +++++++++++- .../code-editor/codeEditorController.js | 4 ++++ .../EdgeStackDeploymentTypeSelector.tsx | 4 +++- app/react/edge/edge-stacks/utils.ts | 9 ++++++-- 7 files changed, 50 insertions(+), 12 deletions(-) diff --git a/app/edge/components/edit-edge-stack-form/editEdgeStackForm.html b/app/edge/components/edit-edge-stack-form/editEdgeStackForm.html index 8a47776f7..7bb2d9cf0 100644 --- a/app/edge/components/edit-edge-stack-form/editEdgeStackForm.html +++ b/app/edge/components/edit-edge-stack-form/editEdgeStackForm.html @@ -9,13 +9,19 @@ There are no available deployment types when there is more than one type of environment in your edge group selection (e.g. Kubernetes and Docker environments). Please select edge groups that have environments of the same type.

+

+ Edge groups with kubernetes environments no longer support compose deployment types in Portainer. Please select + edge groups that only have docker environments when using compose deployment types. +

@@ -89,8 +95,8 @@