Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespace selector does not update the function list #1408

Closed
1 of 3 tasks
LucasRoesler opened this issue Dec 17, 2019 · 3 comments · Fixed by #1409
Closed
1 of 3 tasks

Namespace selector does not update the function list #1408

LucasRoesler opened this issue Dec 17, 2019 · 3 comments · Fixed by #1409
Assignees

Comments

@LucasRoesler
Copy link
Member

My actions before raising this issue

If I deploy functions to the default namespace and to an additional namespace, the namespace selector in the gateway UI does not appear to work. The API returns the expected result with a new function list, but he UI does not update to reflect this

In this screenshot you can see the latest API response but with the wrong function list rendered
image

Expected Behaviour

The function list should change to show the functions from the selected namespace

Current Behaviour

Found while walking through a demo of multinamespace support

Steps to Reproduce (for bugs)

  1. Deploy on kubernetes with the latest helm chart openfaas-5.3.8, make sure to set clusterRole to true
  2. Create an annotate an extra namespace
    kubectl create ns dev-fn
    kubectl annotate ns dev-fn openfaas="true"
  3. use the cli to deploy left pad to an extra namespace, faas-cli store deploy Left-Pad -n dev-fn
  4. also deploy a function to the default namespace faas-cli store deploy NodeInfo
  5. Open the gateway ui
  6. use the namespace selector to change to dev-fn
  7. observer that the function list does not change, it should still just show NodeInfo

Context

Relates to #1379

Your Environment

  • Are you using Docker Swarm or Kubernetes (FaaS-netes)?
    faas-netes

  • Operating System and version (e.g. Linux, Windows, MacOS):
    osx

@alexellis
Copy link
Member

I also ran into this issue.

@alexellis
Copy link
Member

Ref: openfaas/faas-netes#511

@alexellis
Copy link
Member

/assign: Waterdrips

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

Successfully merging a pull request may close this issue.

3 participants