Skip to content

Commit bf0fd98

Browse files
Remove custom-metrics-api
1 parent 486c241 commit bf0fd98

9 files changed

+1
-117
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ test-e2e: defaults manifests generate fmt vet ## Run e2e tests.
453453
go test -timeout 30m -v ./test/e2e
454454

455455
.PHONY: kind-e2e
456-
kind-e2e: ## Set up e2e KinD cluster.
456+
kind-e2e: ## Set up e2e KinD cluster
457457
test/e2e/kind.sh
458458

459459
.PHONY: setup-e2e

config/internal/mcad/apiservice_custom-metrics.yaml

-18
This file was deleted.

config/internal/mcad/clusterrole_custom-metrics-server-admin.yaml.tmpl

-13
This file was deleted.

config/internal/mcad/clusterrole_metrics-resource-reader.yaml.tmpl

-18
This file was deleted.

config/internal/mcad/clusterrolebinding_hpa-controller-custom-metrics.yaml.tmpl

-16
This file was deleted.

config/internal/mcad/clusterrolebinding_mcad-system-auth-delegator.yaml.tmpl

-16
This file was deleted.

config/internal/mcad/clusterrolebinding_metrics-resource-reader.yaml.tmpl

-16
This file was deleted.

config/internal/mcad/rolebinding_custom-metrics-auth-reader.yaml.tmpl

-13
This file was deleted.

controllers/multi_cluster_app_dispatcher.go

-6
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,10 @@ var multiClusterAppDispatcherTemplates = []string{
2727
"mcad/deployment.yaml.tmpl",
2828
}
2929
var ownerLessmultiClusterAppDispatcherTemplates = []string{
30-
"mcad/rolebinding_custom-metrics-auth-reader.yaml.tmpl",
31-
"mcad/clusterrole_custom-metrics-server-admin.yaml.tmpl",
3230
"mcad/clusterrole_mcad-controller.yaml.tmpl",
33-
"mcad/clusterrole_metrics-resource-reader.yaml.tmpl",
34-
"mcad/clusterrolebinding_hpa-controller-custom-metrics.yaml.tmpl",
3531
"mcad/clusterrolebinding_mcad-controller.yaml.tmpl",
3632
"mcad/clusterrolebinding_mcad-controller-kube-scheduler.yaml.tmpl",
3733
"mcad/clusterrolebinding_mcad-edit.yaml.tmpl",
38-
"mcad/clusterrolebinding_mcad-system-auth-delegator.yaml.tmpl",
39-
"mcad/clusterrolebinding_metrics-resource-reader.yaml.tmpl",
4034
}
4135

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

0 commit comments

Comments
 (0)