-
Story
-
Resolution: Done
-
Undefined
-
openshift-4.13
-
3
-
False
-
None
-
False
-
0
-
Not Supported
-
-
-
ODC Sprint 229, ODC Sprint 230, ODC Sprint 231
Description
As a user, I want to create a serverless function in the developer function
Acceptance Criteria
- Add Create Serverless function card on Add page
- Create a Serverless function form similar to Import from git form without Resources, Pipeline, and Import strategy section
- Do not proceed with this flow if func.yaml is not detected in the repo, by showing an info
- Read runtime, builder, buildEnvs and run envs value from the func.yaml. func.yaml eg. - https://github.com/vikram-raj/hello-func-node/blob/master/func.yaml
- Allow users to view and possibly edit the environment variables which are shown in func.yaml. Add the buildEnvs and run envs to the resource
- provide a section which allows the user to select the runtime version
- Add label function.knative.dev: 'true' to KSVC to visualize the Serverless function in the Topology
- Add a section to select the runtime version.
Additional Details:
MIRO
Serverless function doc - https://docs.openshift.com/dedicated/serverless/functions/serverless-functions-yaml.html#serverless-functions-func-yaml-environment-variables_serverless-functions-yaml
SPIKE doc https://docs.google.com/document/d/1O0lP0UMIMxJT2ja8t78DahuqdWuUHgl0gGvyj5NgIxE/edit?pli=1#
- is documented by
-
RHDEVDOCS-5104 [SRVLS] [ODC] Improve documentation for Serverless Functions
- Closed
- links to