serverless / serverless-kubeless

This plugin enables support for Kubeless within the Serverless Framework.
Apache License 2.0
303 stars 80 forks source link

Is it possible to specify get parameters in the http mapping #232

Open spam-n-eggs opened 3 years ago

spam-n-eggs commented 3 years ago

Serverless for AWS Lambdas allows this and I was wondering if this is something that can be done with Kubeless.

serverless.yml:

functions:
  hello:
    handler: handler.hello
    events:
      - http
          path: /hello/{name}

handler.js

function hello(name, event, context) {
    return `Hello ${name}`;
}