mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
Prior to this fix, openapi spec for prometheus-adapter apiextension was based on the type "k8s.io/sample-apiserver/pkg/apiserver" which is incorrect. Due to the incorrect type, `kubectl explain podmetrics` (or nodemetrics) wasn't showing any doc for any resources from metrics.k8s.io/v1beta1. This changeset fixes the problem by using the right type(sigs.k8s.io/metrics-server/pkg/api) for the openapi generation. This also helped to remove the sample-apiserver dependency from prometheus-adapter. Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com> |
||
|---|---|---|
| .. | ||
| adapter | ||
| config-gen | ||