Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Suggestion: Admin dashboard #449

Open
matipan opened this issue May 6, 2019 · 8 comments
Open

Suggestion: Admin dashboard #449

matipan opened this issue May 6, 2019 · 8 comments

Comments

@matipan
Copy link
Contributor

matipan commented May 6, 2019

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.

@matipan
Copy link
Contributor Author

matipan commented May 6, 2019

Derek add label: area/ux, enhancement, help wanted

@alexellis
Copy link
Member

Hmm you do seem to have Derek access https://github.com/openfaas/faas/blob/master/.DEREK.yml#L17

@matipan
Copy link
Contributor Author

matipan commented May 6, 2019

Yeah, I don't know why it didn't work. I think the syntax of the comment is ok

@alexellis
Copy link
Member

matipan wants to add label of 'area/ux, enhancement, help wanted' on issue #449 
POST https://api.github.com/repos/openfaas/openfaas-cloud/issues/449/labels: 422 Validation Failed [{Resource:Label Field:name Code:invalid Message:}]

Add them separately

@matipan
Copy link
Contributor Author

matipan commented May 6, 2019

Derek add label: area/ux

@derek derek bot added the area/ux label May 6, 2019
@matipan
Copy link
Contributor Author

matipan commented May 6, 2019

Derek add label: enhancement

@derek derek bot added the enhancement label May 6, 2019
@matipan
Copy link
Contributor Author

matipan commented May 6, 2019

Derek add label: help wanted

@derek derek bot added the help wanted label May 6, 2019
@matipan
Copy link
Contributor Author

matipan commented May 6, 2019

There we go. Thanks @alexellis

@alexellis alexellis changed the title Feature: provide a dashboard to configure OpenFaaS Cloud Suggestion: Admin dashboard Feb 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants