Skip to content

Enable 'Status' routes #6

@luciolucio

Description

@luciolucio

Status routes are currently explicitly disabled in kubernetes-api.internals.client/find-preferred-route. This prevents access to things like CronJobs/Status, but when I comment this out it seems to work just fine. Is there a reason for this explicit filtering out of routes ending in Status?

(defn find-preferred-route [k8s search-params]
  (->> (find-route k8s search-params)
       (filter (fn [x] (not (string/ends-with? (name x) "Status"))))
       ((partial choose-preffered-version k8s))))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions