From 83f4c5ec0bad7c4538ac4ccb3dfaef5d7e0fe560 Mon Sep 17 00:00:00 2001 From: LP B Date: Mon, 25 Jan 2021 02:43:54 +0100 Subject: [PATCH] fix(k8s/app): remove advanced deployment panel from app details view (#4730) --- app/kubernetes/views/applications/edit/application.html | 6 +----- .../views/applications/edit/applicationController.js | 5 ----- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/app/kubernetes/views/applications/edit/application.html b/app/kubernetes/views/applications/edit/application.html index cdaa2be15..950843f4c 100644 --- a/app/kubernetes/views/applications/edit/application.html +++ b/app/kubernetes/views/applications/edit/application.html @@ -7,8 +7,6 @@
-
-
@@ -57,9 +55,7 @@
Resource reservations
-
- per instance -
+
per instance
CPU {{ ctrl.application.Requests.Cpu | kubernetesApplicationCPUValue }}
diff --git a/app/kubernetes/views/applications/edit/applicationController.js b/app/kubernetes/views/applications/edit/applicationController.js index 91fe84d34..f12195edc 100644 --- a/app/kubernetes/views/applications/edit/applicationController.js +++ b/app/kubernetes/views/applications/edit/applicationController.js @@ -1,5 +1,3 @@ -require('../../../templates/advancedDeploymentPanel.html'); - import angular from 'angular'; import * as _ from 'lodash-es'; import * as JsonPatch from 'fast-json-patch'; @@ -103,7 +101,6 @@ class KubernetesApplicationController { Notifications, LocalStorage, ModalService, - Authentication, KubernetesApplicationService, KubernetesEventService, KubernetesStackService, @@ -117,7 +114,6 @@ class KubernetesApplicationController { this.Notifications = Notifications; this.LocalStorage = LocalStorage; this.ModalService = ModalService; - this.Authentication = Authentication; this.KubernetesApplicationService = KubernetesApplicationService; this.KubernetesEventService = KubernetesEventService; @@ -339,7 +335,6 @@ class KubernetesApplicationController { placementWarning: false, expandedNote: false, useIngress: false, - isAdmin: this.Authentication.isAdmin(), }; this.state.activeTab = this.LocalStorage.getActiveTab('application');