Imports github.com/pkg/errors github.com/sirupsen/logrus k8s.io/api/core/v1 k8s.io/apimachinery/pkg/util/wait sigs.k8s.io/controller-runtime/pkg/client Standard library imports context encoding/json fmt io/ioutil net/http net/url strings time