From bfc008e811f7b1a40e1fc1d12dcba264c03c6fd8 Mon Sep 17 00:00:00 2001 From: "Han Verstraete (OpenFaaS Ltd)" Date: Mon, 10 Jun 2024 11:57:03 +0200 Subject: [PATCH] Update function CRD template Signed-off-by: Han Verstraete (OpenFaaS Ltd) --- .../templates/openfaas.com_functions-crd.yaml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/chart/openfaas/templates/openfaas.com_functions-crd.yaml b/chart/openfaas/templates/openfaas.com_functions-crd.yaml index 97e7af918c..b4ce7adf08 100644 --- a/chart/openfaas/templates/openfaas.com_functions-crd.yaml +++ b/chart/openfaas/templates/openfaas.com_functions-crd.yaml @@ -196,6 +196,30 @@ spec: observedGeneration: format: int64 type: integer + profiles: + description: OpenFaaS Profiles that are applied to this function + items: + description: AppliedProfile describes an OpenFaaS profile that is + applied to the function + properties: + observedGeneration: + description: The generation of the OpenFaaS profile object that + was applied to the function + format: int64 + type: integer + profileRef: + description: Reference to the applied Profile object + properties: + name: + type: string + namespace: + type: string + type: object + required: + - observedGeneration + - profileRef + type: object + type: array replicas: format: int32 type: integer