Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
maleck13 committed Oct 27, 2023
1 parent 8bcf680 commit 29a9c7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions cmd/policy_controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ import (
"os"

certmanv1 "github.com/jetstack/cert-manager/pkg/apis/certmanager/v1"
clusterv1 "open-cluster-management.io/api/cluster/v1"

utilruntime "k8s.io/apimachinery/pkg/util/runtime"
"k8s.io/client-go/kubernetes/scheme"
clientgoscheme "k8s.io/client-go/kubernetes/scheme"
clusterv1 "open-cluster-management.io/api/cluster/v1"
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/healthz"
"sigs.k8s.io/controller-runtime/pkg/log"
Expand Down
2 changes: 1 addition & 1 deletion hack/make/gateway_controller.make
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ docker-push-gateway-controller: ## Push docker image with the controller.
deploy-gateway-controller: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
cd config/manager && $(KUSTOMIZE) edit set image controller=${CONTROLLER_IMG}
$(KUSTOMIZE) --load-restrictor LoadRestrictionsNone build config/deploy/local | kubectl apply -f -
@if [ $(METRICS) = "true" ]; then\
@if [ "$(METRICS)" = "true" ]; then\
$(KUSTOMIZE) build config/prometheus | kubectl apply -f -;\
fi

Expand Down
4 changes: 2 additions & 2 deletions hack/make/policy_controller.make
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ docker-push-policy-controller: ## Push docker image with the controller.

.PHONY: deploy-policy-controller
deploy-policy-controller: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
cd config/policy-controller && $(KUSTOMIZE) edit set image controller=${POLICY_CONTROLLER_IMG}
cd config/policy-controller && $(KUSTOMIZE) edit set image policy-controller=${POLICY_CONTROLLER_IMG}
$(KUSTOMIZE) --load-restrictor LoadRestrictionsNone build config/deploy/local | kubectl apply -f -
@if [ $(METRICS) = "true" ]; then\
@if [ "$(METRICS)" = "true" ]; then\
$(KUSTOMIZE) build config/prometheus | kubectl apply -f -;\
fi

Expand Down

0 comments on commit 29a9c7a

Please sign in to comment.