Fix rollout status for statefulsets and daemonsets

This commit is contained in:
Sergej 2019-02-19 10:36:45 +00:00 committed by Grzegorz Bizon
parent b166398307
commit 106e5051c4
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
title: Fix rollout status for statefulsets and daemonsets
merge_request: 24972
author: Sergej Nikolaev <kinolaev@gmail.com>
type: fixed

View File

@ -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() {