mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
parent
c3ce4d8b53
commit
7bd971f838
65 changed files with 115 additions and 92 deletions
|
@ -19,7 +19,7 @@ export default class HelmAddRepositoryController {
|
|||
this.state.isAddingRepo = true;
|
||||
try {
|
||||
await this.HelmService.addHelmRepository(this.endpoint.Id, { url: this.state.repository });
|
||||
this.Notifications.success('Helm repository added successfully');
|
||||
this.Notifications.success('Success', 'Helm repository added successfully');
|
||||
this.$state.reload(this.$state.current);
|
||||
} catch (err) {
|
||||
this.Notifications.error('Installation error', err);
|
||||
|
|
|
@ -58,7 +58,7 @@ export default class HelmTemplatesController {
|
|||
Namespace: this.state.resourcePool.Namespace.Name,
|
||||
};
|
||||
await this.HelmService.install(this.endpoint.Id, payload);
|
||||
this.Notifications.success('Helm Chart successfully installed');
|
||||
this.Notifications.success('Success', 'Helm Chart successfully installed');
|
||||
this.$analytics.eventTrack('kubernetes-helm-install', { category: 'kubernetes', metadata: { 'chart-name': this.state.chart.name } });
|
||||
this.state.isEditorDirty = false;
|
||||
this.$state.go('kubernetes.applications');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue