mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 14:29:40 +02:00
refact kub deploy logic
This commit is contained in:
parent
5d2fe2d818
commit
cbfdd58ece
6 changed files with 32 additions and 23 deletions
|
@ -77,7 +77,7 @@ func (d *stackDeployer) DeployKubernetesStack(stack *portainer.Stack, endpoint *
|
|||
}
|
||||
defer os.RemoveAll(tempDir)
|
||||
|
||||
_, err = d.kubernetesDeployer.Deploy(nil, endpoint, manifestFilePaths, stack.Namespace, true)
|
||||
_, err = d.kubernetesDeployer.Deploy(stack.OwnerUserID, endpoint, manifestFilePaths, stack.Namespace)
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "failed to deploy kubernetes application")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue