You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2023. It is now read-only.
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.