Fix exec into pods to resize volumes for multi-container pods.

The original code assumed only one container per pod.
This commit is contained in:
Oleksii Kliukin
2018-06-04 14:51:39 +02:00
parent 6ee0349536
commit 04b660519a
3 changed files with 14 additions and 4 deletions
-1
View File
@@ -15,7 +15,6 @@ import (
"k8s.io/client-go/pkg/apis/apps/v1beta1"
policyv1beta1 "k8s.io/client-go/pkg/apis/policy/v1beta1"
"k8s.io/client-go/rest"
)
// EventType contains type of the events for the TPRs and Pods received from Kubernetes