Add Readiness and Liveness probes - code cleanup

This commit is contained in:
Tomasz Sęk
2019-04-15 21:47:02 +02:00
parent 3dde0b0f56
commit 70f35c47f0
4 changed files with 23 additions and 21 deletions
+1 -1
View File
@@ -3,7 +3,6 @@ package jenkins
import (
"context"
"fmt"
"k8s.io/apimachinery/pkg/util/intstr"
"reflect"
"github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkinsio/v1alpha1"
@@ -22,6 +21,7 @@ import (
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/util/intstr"
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/controller"
"sigs.k8s.io/controller-runtime/pkg/handler"