Skip to content

Commit

Permalink
Merge pull request #11 from pwittrock/iterations
Browse files Browse the repository at this point in the history
Move admission package to internal until it is ready
  • Loading branch information
Phillip Wittrock authored Mar 19, 2018
2 parents da529bb + 0e74e51 commit 416d4ef
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions pkg/inject/args/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"time"

"github.com/golang/glog"
"github.com/kubernetes-sigs/kubebuilder/pkg/admission"
"github.com/kubernetes-sigs/kubebuilder/pkg/controller"
"github.com/kubernetes-sigs/kubebuilder/pkg/inject/run"
corev1 "k8s.io/api/core/v1"
Expand Down Expand Up @@ -49,9 +48,6 @@ type InjectArgs struct {
// ControllerManager is the controller manager
ControllerManager *controller.ControllerManager

// AdmissionManager is the admission webhook manager
AdmissionHandler *admission.AdmissionManager

// EventBroadcaster
EventBroadcaster record.EventBroadcaster
}
Expand All @@ -72,7 +68,6 @@ func CreateInjectArgs(config *rest.Config) InjectArgs {
KubernetesClientSet: cs,
KubernetesInformers: informers.NewSharedInformerFactory(cs, 2*time.Minute),
ControllerManager: &controller.ControllerManager{},
AdmissionHandler: &admission.AdmissionManager{},
EventBroadcaster: eventBroadcaster,
}
}
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package admission_test
import (
"fmt"

"github.com/kubernetes-sigs/kubebuilder/pkg/admission"
"github.com/kubernetes-sigs/kubebuilder/pkg/internal/admission"
"k8s.io/api/admission/v1beta1"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package admission_test

import (
"fmt"
"github.com/kubernetes-sigs/kubebuilder/pkg/admission"
"github.com/kubernetes-sigs/kubebuilder/pkg/internal/admission"
"k8s.io/api/admission/v1beta1"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package admission_test
import (
"fmt"

"github.com/kubernetes-sigs/kubebuilder/pkg/admission"
"github.com/kubernetes-sigs/kubebuilder/pkg/internal/admission"
"k8s.io/api/admission/v1beta1"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package admission_test
import (
"fmt"

"github.com/kubernetes-sigs/kubebuilder/pkg/admission"
"github.com/kubernetes-sigs/kubebuilder/pkg/internal/admission"
"k8s.io/api/admission/v1beta1"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 416d4ef

Please sign in to comment.