Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-7211

Create Serverless function form

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • openshift-4.13
    • openshift-4.13
    • UI
    • 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

      1. Add Create Serverless function card on Add page
      2. Create a Serverless function form similar to Import from git form without Resources, Pipeline, and Import strategy section 
      3. Do not proceed with this flow if func.yaml is not detected in the repo, by showing an info
      4. 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
      5. 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 
      6. provide a section which allows the user to select the runtime version
      7. Add label function.knative.dev: 'true' to KSVC to visualize the Serverless function in the Topology
      8. 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#

              viraj-1 Vikram Raj
              viraj-1 Vikram Raj
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: