serverless / serverless-kubeless

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

Place labels and descriptions inside the metadata definition #56

Closed andresmgot closed 7 years ago

andresmgot commented 7 years ago

Replaces the labels and descriptions inside the metadata definition:

$ kubectl get function hello -o yaml
apiVersion: k8s.io/v1
kind: Function
metadata:
  annotations:
    kubeless.serverless.com/description: Hello function
  creationTimestamp: 2017-08-31T09:43:54Z
  labels:
    test: "1"
  name: hello
  namespace: default
  resourceVersion: "50589"
  selfLink: /apis/k8s.io/v1/namespaces/default/functions/hello
  uid: e6daca8e-8e30-11e7-8f0e-08002770fb46
spec:
...

Fixes #50