fix(provider/kubernetes): v2 Fix stability check for DaemonSet
"status.getUpdatedNumberScheduled" may be null for DaemonSets that
have not been updated.
MODIFY
clouddriver-kubernetes/src/main/groovy/com/netflix/spinnaker/clouddriver/kubernetes/v2/op/handler/KubernetesDaemonSetHandler.java
clouddriver-kubernetes/src/main/groovy/com/netflix/spinnaker/clouddriver/kubernetes/v2/op/handler/KubernetesDaemonSetHandler.java
@@ -92,7 +92,7 @@ public class KubernetesDaemonSetHandler extends KubernetesHandler implements
}
existing = status.getUpdatedNumberScheduled();
- if (existing == null || desiredReplicas > existing) {
+ if (existing != null && desiredReplicas > existing) {
return result.unstable("Waiting for all updated replicas to be scheduled");
}

fix(provider/kubernetes): v2 Fix stability check for DaemonSet (#2421)

"status.getUpdatedNumberScheduled" may be null for DaemonSets that
have not been updated.