Skip to content

Remove custom-metrics-api templates and resources #270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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