Skip to content

Commit

Permalink
Remove custom-metrics-api
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianZaccaria authored and openshift-merge-robot committed Sep 5, 2023
1 parent 486c241 commit bf0fd98
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 117 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ test-e2e: defaults manifests generate fmt vet ## Run e2e tests.
go test -timeout 30m -v ./test/e2e

.PHONY: kind-e2e
kind-e2e: ## Set up e2e KinD cluster.
kind-e2e: ## Set up e2e KinD cluster
test/e2e/kind.sh

.PHONY: setup-e2e
Expand Down
18 changes: 0 additions & 18 deletions config/internal/mcad/apiservice_custom-metrics.yaml

This file was deleted.

This file was deleted.

18 changes: 0 additions & 18 deletions config/internal/mcad/clusterrole_metrics-resource-reader.yaml.tmpl

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions controllers/multi_cluster_app_dispatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,10 @@ var multiClusterAppDispatcherTemplates = []string{
"mcad/deployment.yaml.tmpl",
}
var ownerLessmultiClusterAppDispatcherTemplates = []string{
"mcad/rolebinding_custom-metrics-auth-reader.yaml.tmpl",
"mcad/clusterrole_custom-metrics-server-admin.yaml.tmpl",
"mcad/clusterrole_mcad-controller.yaml.tmpl",
"mcad/clusterrole_metrics-resource-reader.yaml.tmpl",
"mcad/clusterrolebinding_hpa-controller-custom-metrics.yaml.tmpl",
"mcad/clusterrolebinding_mcad-controller.yaml.tmpl",
"mcad/clusterrolebinding_mcad-controller-kube-scheduler.yaml.tmpl",
"mcad/clusterrolebinding_mcad-edit.yaml.tmpl",
"mcad/clusterrolebinding_mcad-system-auth-delegator.yaml.tmpl",
"mcad/clusterrolebinding_metrics-resource-reader.yaml.tmpl",
}

func (r *MCADReconciler) ReconcileMCAD(mcad *codeflarev1alpha1.MCAD, params *MCADParams) error {
Expand Down

0 comments on commit bf0fd98

Please sign in to comment.