mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 22:39:41 +02:00
fix(stack): failed to pull and redeploy compose format k8s stack
This commit is contained in:
parent
0128d1bf96
commit
840d65f578
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ func (handler *Handler) deployStack(r *http.Request, stack *portainer.Stack, end
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return &httperror.HandlerError{StatusCode: http.StatusInternalServerError, Message: "Unable to read deployment.yml manifest file", Err: errors.Wrap(err, "failed to read manifest file")}
|
return &httperror.HandlerError{StatusCode: http.StatusInternalServerError, Message: "Unable to read deployment.yml manifest file", Err: errors.Wrap(err, "failed to read manifest file")}
|
||||||
}
|
}
|
||||||
_, err = handler.deployKubernetesStack(r, endpoint, string(content), false, stack.Namespace, k.KubeAppLabels{
|
_, err = handler.deployKubernetesStack(r, endpoint, string(content), stack.IsComposeFormat, stack.Namespace, k.KubeAppLabels{
|
||||||
StackID: int(stack.ID),
|
StackID: int(stack.ID),
|
||||||
Name: stack.Name,
|
Name: stack.Name,
|
||||||
Owner: stack.CreatedBy,
|
Owner: stack.CreatedBy,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue