From 5f430768039913ea1c89a1f011b2550fdbfa4194 Mon Sep 17 00:00:00 2001 From: Stavros Kontopoulos Date: Thu, 9 Jan 2025 17:02:16 +0200 Subject: [PATCH] Bump controller tools (#1031) --- config/ingress.yaml | 9 --------- config/serverlessservice.yaml | 1 - hack/update-schemas.sh | 2 +- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/config/ingress.yaml b/config/ingress.yaml index 582adbb51..33ee6b015 100644 --- a/config/ingress.yaml +++ b/config/ingress.yaml @@ -36,7 +36,6 @@ spec: by a backend. An Ingress can be configured to give services externally-reachable URLs, load balance traffic, offer name based virtual hosting, etc. - This is heavily based on K8s Ingress https://godoc.org/k8s.io/api/networking/v1beta1#Ingress which some highlighted modifications. type: object @@ -108,7 +107,6 @@ spec: description: |- A collection of paths that map requests to backends. - If they are multiple matching paths, the first match takes precedence. type: array items: @@ -124,7 +122,6 @@ spec: AppendHeaders allow specifying additional HTTP headers to add before forwarding a request to the destination service. - NOTE: This differs from K8s Ingress which doesn't allow header appending. type: object additionalProperties: @@ -159,7 +156,6 @@ spec: description: |- RewriteHost rewrites the incoming request's host header. - This field is currently experimental and not supported by all Ingress implementations. type: string @@ -181,7 +177,6 @@ spec: AppendHeaders allow specifying additional HTTP headers to add before forwarding a request to the destination service. - NOTE: This differs from K8s Ingress which doesn't allow header appending. type: object additionalProperties: @@ -191,7 +186,6 @@ spec: Specifies the split percentage, a number between 0 and 100. If only one split is specified, we default to 100. - NOTE: This differs from K8s Ingress to allow percentage split. type: integer serviceName: @@ -201,7 +195,6 @@ spec: description: |- Specifies the namespace of the referenced service. - NOTE: This differs from K8s Ingress to allow routing to different namespaces. type: string servicePort: @@ -326,7 +319,6 @@ spec: description: |- DomainInternal is set if there is a cluster-local DNS name to access the Ingress. - NOTE: This differs from K8s Ingress, since we also desire to have a cluster-local DNS name to allow routing in case of not having a mesh. type: string @@ -362,7 +354,6 @@ spec: description: |- DomainInternal is set if there is a cluster-local DNS name to access the Ingress. - NOTE: This differs from K8s Ingress, since we also desire to have a cluster-local DNS name to allow routing in case of not having a mesh. type: string diff --git a/config/serverlessservice.yaml b/config/serverlessservice.yaml index ab1422e5c..5df69a559 100644 --- a/config/serverlessservice.yaml +++ b/config/serverlessservice.yaml @@ -92,7 +92,6 @@ spec: the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. - TODO: this design is not final and this field is subject to change in the future. type: string kind: description: |- diff --git a/hack/update-schemas.sh b/hack/update-schemas.sh index 8bb442f68..223ba1cd8 100755 --- a/hack/update-schemas.sh +++ b/hack/update-schemas.sh @@ -27,7 +27,7 @@ function restore { trap restore EXIT -go run sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0 \ +go run sigs.k8s.io/controller-tools/cmd/controller-gen@v0.16.5 \ schemapatch:manifests=config/,generateEmbeddedObjectMeta=false \ output:dir=config \ paths=./pkg/apis/...