Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

[cetic/swaggerui] no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta2" #26

@si458

Description

@si458

Describe the bug

PS C:\Users\sas_2\Documents\Developer\talos> helm install swaggerui cetic/swaggerui                                
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "swaggerui" namespace: "" from "": no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta2"

Version of Helm and Kubernetes:

PS C:\Users\sas_2\Documents\Developer\talos> helm version
version.BuildInfo{Version:"v3.12.1", GitCommit:"f32a527a060157990e2aa86bf45010dfb3cc8b8d", GitTreeState:"clean", GoVersion:"go1.20.4"}
PS C:\Users\sas_2\Documents\Developer\talos> kubectl version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.3", GitCommit:"25b4e43193bcda6c7328a6d147b1fb73a33f1598", GitTreeState:"clean", BuildDate:"2023-06-14T09:53:42Z", GoVersion:"go1.20.5", Compiler:"gc", Platform:"windows/amd64"}
Kustomize Version: v5.0.1
Server Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.4", GitCommit:"f89670c3aa4059d6999cb42e23ccb4f0b9a03979", GitTreeState:"clean", BuildDate:"2023-04-12T12:05:35Z", GoVersion:"go1.19.8", Compiler:"gc", Platform:"linux/amd64"}

What happened:
an error

What you expected to happen:
to install

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know:

it appears autoscaling/v2beta2 was removed in 1.26+ and replaced with autoscaling/v2
https://kubernetes.io/docs/reference/using-api/deprecation-guide/#horizontalpodautoscaler-v126

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions