Closed alexellis closed 3 years ago
I will work on updating faas-netes to make secrets API namespace aware and add namespace flag to the secrets command to CLI.
hey @viveksyngh, I'm working on the faas-netes
, faas-provider
and faas
for that already 🙈
would u like to focus on the CLI?
for the GET /system/secrets
I'm gonna pass a namespace
query parameter and for the other ones (POST, PUT, DELETE) I'll pass a new namespace
field in the body.
what do u think?
I have a POC working locally already, will cleanup and push today :)
or the GET /system/secrets I'm gonna pass a namespace query parameter and for the other ones (POST, PUT, DELETE) I'll pass a new namespace field in the body.
I think that should be fine. Please let me know if you need any help.
I can work on the CLI.
Feature: multiple namespace support
The feature is outlined at https://github.com/openfaas/faas-netes/issues/433, which can be used for comments, questions, and suggestions.
The use-case is: multiple namespaces, single installation, i.e.
dev/staging
,team-a/team-b
,client-a/client-b
.Checklist:
.
in paths for faas-provider https://github.com/openfaas/faas-provider/pull/26.
in paths for faas/gateway https://github.com/openfaas/faas/pull/1315CLI
[x] Deploy via
--namespace
for single function[x] Deploy via stack.yml with multiple functions - https://github.com/openfaas/faas-cli/issues/737 UI https://github.com/openfaas/faas/issues/1379
[x] UI - add namespace selector
[x] UI - add "all namespaces" option
Secrets
Logs
Docs
Triggers
OpenFaaS operator
[x] Copy approach/changes from faas-netes https://github.com/openfaas-incubator/openfaas-operator/issues/92
[x] Basic logs
[x] Endpoint load-balancing
[x] Multiple-namespace support
Diagram
Test out the patches so far
Test e2e with this Gist and the following patches: https://gist.github.com/alexellis/3b285ca0952d4cef48ca5dbff7e4e288