Skip to content

extensions/v1beta1 for ingress deprecated but new api not found in models #1509

@frederiksf

Description

@frederiksf

The kubernetes documentation tells me the following ;

_The extensions/v1beta1 and networking.k8s.io/v1beta1 API versions of Ingress will no longer be served in v1.22.

Migrate manifests and API clients to use the networking.k8s.io/v1 API version, available since v1.19._

I have the models but i was not able to find the new models based on networking.k8s.io/v1. This is something not yet made and will come in the future or do i miss something? Methods i used;

body = client.ExtensionsV1beta1Ingress(
            api_version="extensions/v1beta1",
            kind="Ingress",
            metadata=client.V1ObjectMeta(name="blabla-tenant-ingress",
                                         annotations=annotations),
            spec=client.ExtensionsV1beta1IngressSpec(
                rules=rules
            ))

Metadata

Metadata

Assignees

Labels

kind/documentationCategorizes issue or PR as related to documentation.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