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:
parent
776be2e022
commit
56f3bd8417
5 changed files with 24 additions and 5 deletions
|
@ -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,
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -9,5 +9,6 @@ angular.module('portainer.kubernetes').component('helmTemplatesView', {
|
|||
namespace: '<',
|
||||
stackName: '<',
|
||||
onSelectHelmChart: '<',
|
||||
name: '<',
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue