mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 23:35:31 +02:00
feature(kubernetes): stack name made optional & add toggle to disable stack in kubernetes [EE-6170] (#10436)
This commit is contained in:
parent
44d66cc633
commit
7840e0bfe1
29 changed files with 305 additions and 47 deletions
|
@ -262,12 +262,13 @@ angular.module('portainer.app').factory('StackService', [
|
|||
).$promise;
|
||||
};
|
||||
|
||||
service.updateKubeStack = function (stack, { stackFile, gitConfig, webhookId }) {
|
||||
service.updateKubeStack = function (stack, { stackFile, gitConfig, webhookId, stackName }) {
|
||||
let payload = {};
|
||||
|
||||
if (stackFile) {
|
||||
payload = {
|
||||
StackFileContent: stackFile,
|
||||
StackName: stackName,
|
||||
};
|
||||
} else {
|
||||
payload = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue