Skip to content

Unknown apiVersionKind secrets-store.csi.x-k8s.io/v1/SecretProviderClass is it registered? - K8S java client  #2655

@payalgodhanioracle

Description

@payalgodhanioracle

Describe the bug
Unknown apiVersionKind secrets-store.csi.x-k8s.io/v1/SecretProviderClass is it registered?

Error Stack

Failed to load resources:
java.io.IOException: Unknown apiVersionKind secrets-store.csi.x-k8s.io/v1/SecretProviderClass is it registered?
at io.kubernetes.client.util.Yaml.modelMapper(Yaml.java:554)
at io.kubernetes.client.util.Yaml.loadAll(Yaml.java:179)
at io.kubernetes.client.util.Yaml.loadAll(Yaml.java:145)

Client Version
e.g. 17.0.2 and 18.0.0

Kubernetes Version
e.g. 1.23.4

Java Version
e.g. Java 8

To Reproduce
Steps to reproduce the behavior:

Expected behavior
Should be able to create the resource - secrets-store.csi.x-k8s.io
This resource can be created with kubectl and helm manually but not with Java K8S client. We see that the fix is already in the master branch. This is the pull request which was merged but there was no java client release post this.

#2620

Could we create a new release from the master branch or have an ETA for the next release ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions