-
Notifications
You must be signed in to change notification settings - Fork 474
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
Functions are manipulated in non-annotated namespace #679
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Functions should only be created/deleted etc. In namespaces which have annotation
openfaas=1/true
in faas-netes and operator. Currently the logic rejects secrets created in those namespaces, but creates functions.Expected Behaviour
Try creating function in namespace which does not have annotation results in failure.
Current Behaviour
Creating function in namespace with no
openfaas=1
annotation succeeds.Possible Solution
Check query namespaces before creating function similar to logic in
handlers.ListNamespaces
Steps to Reproduce (for bugs)
faas-netes
/operator
with ClusterRole to true to enable multiple namespaces supportstaging-fn
without annotationContext
Similar problem exists while developing multiple namespaces support for the operator.
Your Environment
faas-cli version
):N/A
docker version
(e.g. Docker 17.0.05 ):N/A
kubectl version
N/A
N/A
N/A
N/A
The text was updated successfully, but these errors were encountered: