Skip to content
This repository has been archived by the owner on Dec 1, 2018. It is now read-only.

Endpoint class has incorrect Kind. #167

Open
jparklab opened this issue Oct 2, 2018 · 0 comments
Open

Endpoint class has incorrect Kind. #167

jparklab opened this issue Oct 2, 2018 · 0 comments

Comments

@jparklab
Copy link

jparklab commented Oct 2, 2018

Kind for Endpoint is 'Endpoints' instead of 'Endpoint'

https://kubernetes.io/docs/concepts/services-networking/service/
https://github.com/kelproject/pykube/blob/master/pykube/objects.py#L225

I can work-around by defining a new class as below, but can you please update the pykube?

class Endpoints(NamespacedAPIObject):

    version = "v1"
    endpoint = "endpoints"
    kind = "Endpoints"


Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant