Skip to content

Find cleaner solution for fetching all Kubernetes namespaces #1067

@chris-crone

Description

@chris-crone

Description
We currently fallback to a UCP API for fetching Kubernetes namespaces when the given user does not have permission to do so (see: #1034).

We should find a cleaner way to handle this case such as that suggested by @vdemeester:

As discussed a bit offline earlier, a cleaner way (way cleaner) would have been to have a kubernetes api extension (same as the current "compose on kubernetes" one):

  • we wouldn't need to hack docker/docker client around, we would just consume the go code from the > extension (again, same way as "compose on kubernetes")
  • it would be "automatically" versionned (because of k8s way of doing things)
  • it wouldn't be a direct dependency on UCP as it could be easily deployed on other cluster in the future if we wanted

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions