1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 00:09:40 +02:00

add name field for helm install in advance deployments (#10493)

This commit is contained in:
Prabhat Khera 2023-10-18 11:37:03 +13:00 committed by GitHub
parent 776be2e022
commit 56f3bd8417
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 5 deletions

View file

@ -56,7 +56,7 @@ export default class HelmTemplatesController {
this.state.actionInProgress = true;
try {
const payload = {
Name: this.stackName,
Name: this.name,
Repo: this.state.chart.repo,
Chart: this.state.chart.name,
Values: this.state.values,

View file

@ -82,7 +82,7 @@
<button
type="button"
class="btn btn-primary btn-sm !ml-0"
ng-disabled="!$ctrl.state.resourcePool || $ctrl.state.loadingValues || $ctrl.state.actionInProgress"
ng-disabled="!$ctrl.state.resourcePool || $ctrl.state.loadingValues || $ctrl.state.actionInProgress || !$ctrl.name"
ng-click="$ctrl.installHelmchart()"
button-spinner="$ctrl.state.actionInProgress"
data-cy="helm-install"

View file

@ -9,5 +9,6 @@ angular.module('portainer.kubernetes').component('helmTemplatesView', {
namespace: '<',
stackName: '<',
onSelectHelmChart: '<',
name: '<',
},
});