mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 06:49:40 +02:00
feat(k8s/resources-list-view): add advanced deployment panel to resources list view (#4516)
* feat(k8s/resources-list-view): add advanced deployment panel to applications view, configurations view and volumes view * feat(k8s/resources-list-view): move advanced deployment into a template and use it everywhere
This commit is contained in:
parent
b924347c5b
commit
7848bcf2f4
9 changed files with 46 additions and 15 deletions
|
@ -1,3 +1,5 @@
|
|||
require('../../../templates/advancedDeploymentPanel.html');
|
||||
|
||||
import angular from 'angular';
|
||||
import * as _ from 'lodash-es';
|
||||
import * as JsonPatch from 'fast-json-patch';
|
||||
|
@ -101,6 +103,7 @@ class KubernetesApplicationController {
|
|||
Notifications,
|
||||
LocalStorage,
|
||||
ModalService,
|
||||
Authentication,
|
||||
KubernetesApplicationService,
|
||||
KubernetesEventService,
|
||||
KubernetesStackService,
|
||||
|
@ -114,6 +117,7 @@ class KubernetesApplicationController {
|
|||
this.Notifications = Notifications;
|
||||
this.LocalStorage = LocalStorage;
|
||||
this.ModalService = ModalService;
|
||||
this.Authentication = Authentication;
|
||||
|
||||
this.KubernetesApplicationService = KubernetesApplicationService;
|
||||
this.KubernetesEventService = KubernetesEventService;
|
||||
|
@ -333,6 +337,7 @@ class KubernetesApplicationController {
|
|||
eventWarningCount: 0,
|
||||
expandedNote: false,
|
||||
useIngress: false,
|
||||
isAdmin: this.Authentication.isAdmin(),
|
||||
};
|
||||
|
||||
this.state.activeTab = this.LocalStorage.getActiveTab('application');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue