openfaas/openfaas-cloud

Suggestion: Admin dashboard

Open

#449 geöffnet am 6. Mai 2019

Auf GitHub ansehen
 (8 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (222 Forks)auto 404
area/uxenhancementhelp wanted

Repository-Metriken

Stars
 (770 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

There are a few things that are configured as environment variables in the different ofc components, a few of them are:

  • Branch to be used for building the functions
  • Docker registry to push images
  • Custom templates
  • Enable support for dockerfile templates
  • Scaling factors
  • Maybe hmac validation?

Expected Behaviour

Be able to change the settings of OFC without requiring to modify each of the components that provide that feature.

Current Behaviour

If I want to modify, for example, the build branch I need to edit the deployments of many functions and this type of editing can be tedious and error prone.

Possible Solution

Add a new component(maybe admin-dashboard?) to OFC that provides this features. I think we can do this in two different ways:

  • Modify each of the required deployments directly from this component(needs the appropriate roles for modifying this)
  • Re-deploy the affected functions using the gateway(like buildshiprun does it). In order to do this we would need to first get the definition of the function, modify the variables and re-deploy with those new values.

In my opinion the second solution is best since the gateway continues to be the "owner" of the state of the functions.

Contributor Guide