-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[external metrics] Add mgmt of missing resources for metrics provider (…
…#137) * [external metrics server] Add management of missing resources for metrics provider - Adds missing `ClusterRole` and `ClusterRoleBinding` to allow reading external metrics from HPA. - Adds missing `APIService` registration for `v1beta1.external.metrics.k8s.io`. - Operator vendoring and `ClusterRole` changes to allow management of `APIService` resources. * [external metrics] use external-metrics-reader ClusterRole name on GKE This mimicks special-casing logic that we have [here](https://github.com/DataDog/helm-charts/blob/c47dbc7935aedc9a568cdf98883db299c41a0d5f/charts/datadog/templates/hpa-external-metrics-rbac.yaml#L11). This ensures HPA controller works with external metrics on GKE. * Address review feedback - Add logging around create/delete of APIService. - Missing delete verb in RBAC to manage APIServices. * Address code review comment - simplify and correct Service/APIService cleanup logic
- Loading branch information
Showing
29 changed files
with
3,961 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.