1
0
Fork 0
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:
fhanportainer 2021-09-06 13:46:14 +12:00 committed by GitHub
parent 4ffee27a4b
commit f16fdd3ea7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 4 deletions

View file

@ -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 });