mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Use correct apiversion for HPA details (#1745)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
ff9e96d880
commit
3b65019dcb
@ -134,7 +134,7 @@ export class HpaDetails extends React.Component<Props> {
|
|||||||
|
|
||||||
kubeObjectDetailRegistry.add({
|
kubeObjectDetailRegistry.add({
|
||||||
kind: "HorizontalPodAutoscaler",
|
kind: "HorizontalPodAutoscaler",
|
||||||
apiVersions: ["autoscaling/v1"],
|
apiVersions: ["autoscaling/v2beta1"],
|
||||||
components: {
|
components: {
|
||||||
Details: (props) => <HpaDetails {...props} />
|
Details: (props) => <HpaDetails {...props} />
|
||||||
}
|
}
|
||||||
@ -142,7 +142,7 @@ kubeObjectDetailRegistry.add({
|
|||||||
|
|
||||||
kubeObjectDetailRegistry.add({
|
kubeObjectDetailRegistry.add({
|
||||||
kind: "HorizontalPodAutoscaler",
|
kind: "HorizontalPodAutoscaler",
|
||||||
apiVersions: ["autoscaling/v1"],
|
apiVersions: ["autoscaling/v2beta1"],
|
||||||
priority: 5,
|
priority: 5,
|
||||||
components: {
|
components: {
|
||||||
Details: (props) => <KubeEventDetails {...props} />
|
Details: (props) => <KubeEventDetails {...props} />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user