docs: add missing namespace field to the scale request

The ScaleFunction request supports specifying the function namespace.
This is now included in the API spec.

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
This commit is contained in:
Lucas Roesler 2023-07-15 10:18:00 +02:00 committed by Alex Ellis
parent 9e6f814f6f
commit 5c851cdf31

View File

@ -908,6 +908,7 @@ components:
ScaleServiceRequest:
required:
- serviceName
- namespace
- replicas
type: object
properties:
@ -915,6 +916,10 @@ components:
type: string
description: Name of deployed function
example: nodeinfo
namespace:
type: string
description: Namespace the function is deployed to.
example: openfaas-fn
replicas:
type: integer
format: int64