serverless / serverless-kubeless

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

Allow function level runtime override #185

Closed janthoe closed 5 years ago

janthoe commented 5 years ago

Added support function level runtime override :

service: my-service
provider: 
  name: kubeless
  runtime: nodejs8
functions:
  myFunction1:
    handler: nodejs10handler.handle
    runtime: nodejs10
  myFunction2:
    handler: nodejs8handler.handle

Analog of the function runtime override in the AWS provider: https://serverless.com/framework/docs/providers/aws/guide/functions#configuration

janthoe commented 5 years ago

Thank you for the patch @janthoe! Would you mind bumping the version in the package.json so this get automatically released?

@andresmgot done!

Thanks for the quick review 🙇