mirror of
https://github.com/portainer/portainer.git
synced 2025-08-03 21:05:23 +02:00
fix(k8s): add tag ids to request payload for creating local k8s endpoint. EE-1454 (#5577)
* fix(k8s): add tag ids to request payload for creating local k8s endpoint. * add https to k8s local environment url
This commit is contained in:
parent
4ffee27a4b
commit
f16fdd3ea7
3 changed files with 9 additions and 4 deletions
|
@ -154,8 +154,9 @@ angular
|
|||
|
||||
$scope.addKubernetesEndpoint = function () {
|
||||
var name = $scope.formValues.Name;
|
||||
var tagIds = $scope.formValues.TagIds;
|
||||
$scope.state.actionInProgress = true;
|
||||
EndpointService.createLocalKubernetesEndpoint(name)
|
||||
EndpointService.createLocalKubernetesEndpoint(name, tagIds)
|
||||
.then(function success(result) {
|
||||
Notifications.success('Endpoint created', name);
|
||||
$state.go('portainer.endpoints.endpoint.kubernetesConfig', { id: result.Id });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue