From 74f337f9fd2031bc6f9b93c18b5d256a139b0a88 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Mon, 8 Nov 2021 10:22:41 -0500 Subject: [PATCH] Add comment about RequireExactlyOne Signed-off-by: Sebastian Malton --- src/common/k8s-api/endpoints/ingress.api.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/common/k8s-api/endpoints/ingress.api.ts b/src/common/k8s-api/endpoints/ingress.api.ts index b66250930d..7b80dca29e 100644 --- a/src/common/k8s-api/endpoints/ingress.api.ts +++ b/src/common/k8s-api/endpoints/ingress.api.ts @@ -102,7 +102,11 @@ export interface Ingress { }[]; // extensions/v1beta1 backend?: IExtensionsBackend; - // networking.k8s.io/v1 + /** + * The default backend which is exactly on of: + * - service + * - resource + */ defaultBackend?: RequireExactlyOne