Commit 106e5051 authored by Sergej's avatar Sergej Committed by Grzegorz Bizon

Fix rollout status for statefulsets and daemonsets

parent b1663983
---
title: Fix rollout status for statefulsets and daemonsets
merge_request: 24972
author: Sergej Nikolaev <kinolaev@gmail.com>
type: fixed
......@@ -54,6 +54,8 @@ variables:
DOCKER_DRIVER: overlay2
ROLLOUT_RESOURCE_TYPE: deployment
stages:
- build
- test
......@@ -740,7 +742,7 @@ rollout 100%:
chart/
fi
kubectl rollout status -n "$KUBE_NAMESPACE" -w "deployment/$name"
kubectl rollout status -n "$KUBE_NAMESPACE" -w "$ROLLOUT_RESOURCE_TYPE/$name"
}
function scale() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment