This is an automated email from the ASF dual-hosted git repository.

Miretpl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 61a0779687d Keep HTTPRoute schema definitions consistent (#70673)
61a0779687d is described below

commit 61a0779687d9522ee90e9f891896b443e1a8645c
Author: Aaron Chen <[email protected]>
AuthorDate: Fri Jul 31 00:51:53 2026 +0800

    Keep HTTPRoute schema definitions consistent (#70673)
---
 chart/values.schema.json | 287 ++++++++++++++++-------------------------------
 1 file changed, 99 insertions(+), 188 deletions(-)

diff --git a/chart/values.schema.json b/chart/values.schema.json
index 5843cc8ede9..0a3e9043333 100644
--- a/chart/values.schema.json
+++ b/chart/values.schema.json
@@ -5668,100 +5668,8 @@
                     "default": true
                 },
                 "httpRoute": {
-                    "description": "Kubernetes Gateway API (HTTPRoute) 
configuration for the API server.",
-                    "type": "object",
-                    "additionalProperties": false,
-                    "properties": {
-                        "enabled": {
-                            "description": "Enable API server HTTPRoute 
resource.",
-                            "type": "boolean",
-                            "default": false
-                        },
-                        "labels": {
-                            "description": "Extra labels for the API server 
HTTPRoute.",
-                            "type": "object",
-                            "default": {},
-                            "additionalProperties": {
-                                "type": "string"
-                            }
-                        },
-                        "annotations": {
-                            "description": "Annotations for the API server 
HTTPRoute.",
-                            "type": "object",
-                            "default": {},
-                            "additionalProperties": {
-                                "type": "string"
-                            }
-                        },
-                        "parentRefs": {
-                            "description": "List of parent Gateway references 
this HTTPRoute attaches to. Required when enabled.",
-                            "type": [
-                                "array",
-                                "null"
-                            ],
-                            "default": null,
-                            "minItems": 1,
-                            "items": {
-                                "type": "object",
-                                "properties": {
-                                    "name": {
-                                        "description": "Name of the referenced 
Gateway.",
-                                        "type": "string"
-                                    },
-                                    "namespace": {
-                                        "description": "Namespace of the 
referenced Gateway. Defaults to the local namespace.",
-                                        "type": "string"
-                                    },
-                                    "sectionName": {
-                                        "description": "Name of the Gateway 
listener section this route attaches to.",
-                                        "type": "string"
-                                    },
-                                    "port": {
-                                        "description": "Port of the Gateway 
listener this route attaches to.",
-                                        "type": "integer"
-                                    },
-                                    "kind": {
-                                        "description": "Kind of the referenced 
resource. Defaults to `Gateway`.",
-                                        "type": "string"
-                                    },
-                                    "group": {
-                                        "description": "API group of the 
referenced resource. Defaults to `gateway.networking.k8s.io`.",
-                                        "type": "string"
-                                    }
-                                },
-                                "required": [
-                                    "name"
-                                ]
-                            }
-                        },
-                        "hostnames": {
-                            "description": "Hostnames this HTTPRoute should 
match (templated). Empty matches all.",
-                            "type": "array",
-                            "default": [],
-                            "items": {
-                                "type": "string"
-                            }
-                        },
-                        "path": {
-                            "description": "Default routing rule path (used 
only when `apiServer.httpRoute.rules` is empty).",
-                            "type": "string",
-                            "default": "/"
-                        },
-                        "pathType": {
-                            "description": "The pathType for the default path: 
PathPrefix, Exact, or RegularExpression.",
-                            "type": "string",
-                            "default": "PathPrefix"
-                        },
-                        "rules": {
-                            "description": "Custom routing rules. When set, 
overrides the default rule generated from `path` + `pathType`. Each entry 
follows the upstream Gateway API `HTTPRouteRule` schema.",
-                            "type": "array",
-                            "default": [],
-                            "items": {
-                                "type": "object",
-                                "additionalProperties": {}
-                            }
-                        }
-                    }
+                    "$ref": "#/definitions/httpRoute",
+                    "description": "Kubernetes Gateway API (HTTPRoute) 
configuration for the API server."
                 },
                 "configMapAnnotations": {
                     "description": "Extra annotations to apply to the API 
server configmap.",
@@ -6538,100 +6446,8 @@
                     "default": false
                 },
                 "httpRoute": {
-                    "description": "Kubernetes Gateway API (HTTPRoute) 
configuration for Flower.",
-                    "type": "object",
-                    "additionalProperties": false,
-                    "properties": {
-                        "enabled": {
-                            "description": "Enable Flower HTTPRoute resource.",
-                            "type": "boolean",
-                            "default": false
-                        },
-                        "labels": {
-                            "description": "Extra labels for the Flower 
HTTPRoute.",
-                            "type": "object",
-                            "default": {},
-                            "additionalProperties": {
-                                "type": "string"
-                            }
-                        },
-                        "annotations": {
-                            "description": "Annotations for the Flower 
HTTPRoute.",
-                            "type": "object",
-                            "default": {},
-                            "additionalProperties": {
-                                "type": "string"
-                            }
-                        },
-                        "parentRefs": {
-                            "description": "List of parent Gateway references 
this HTTPRoute attaches to. Required when enabled.",
-                            "type": [
-                                "array",
-                                "null"
-                            ],
-                            "default": null,
-                            "minItems": 1,
-                            "items": {
-                                "type": "object",
-                                "properties": {
-                                    "name": {
-                                        "description": "Name of the referenced 
Gateway.",
-                                        "type": "string"
-                                    },
-                                    "namespace": {
-                                        "description": "Namespace of the 
referenced Gateway. Defaults to the local namespace.",
-                                        "type": "string"
-                                    },
-                                    "sectionName": {
-                                        "description": "Name of the Gateway 
listener section this route attaches to.",
-                                        "type": "string"
-                                    },
-                                    "port": {
-                                        "description": "Port of the Gateway 
listener this route attaches to.",
-                                        "type": "integer"
-                                    },
-                                    "kind": {
-                                        "description": "Kind of the referenced 
resource. Defaults to `Gateway`.",
-                                        "type": "string"
-                                    },
-                                    "group": {
-                                        "description": "API group of the 
referenced resource. Defaults to `gateway.networking.k8s.io`.",
-                                        "type": "string"
-                                    }
-                                },
-                                "required": [
-                                    "name"
-                                ]
-                            }
-                        },
-                        "hostnames": {
-                            "description": "Hostnames this HTTPRoute should 
match (templated). Empty matches all.",
-                            "type": "array",
-                            "default": [],
-                            "items": {
-                                "type": "string"
-                            }
-                        },
-                        "path": {
-                            "description": "Default routing rule path (used 
only when `flower.httpRoute.rules` is empty).",
-                            "type": "string",
-                            "default": "/"
-                        },
-                        "pathType": {
-                            "description": "The pathType for the default path: 
PathPrefix, Exact, or RegularExpression.",
-                            "type": "string",
-                            "default": "PathPrefix"
-                        },
-                        "rules": {
-                            "description": "Custom routing rules. When set, 
overrides the default rule generated from `path` + `pathType`. Each entry 
follows the upstream Gateway API `HTTPRouteRule` schema.",
-                            "type": "array",
-                            "default": [],
-                            "items": {
-                                "type": "object",
-                                "additionalProperties": {}
-                            }
-                        }
-                    }
+                    "$ref": "#/definitions/httpRoute",
+                    "description": "Kubernetes Gateway API (HTTPRoute) 
configuration for Flower."
                 },
                 "livenessProbe": {
                     "description": "Liveness probe configuration.",
@@ -10238,6 +10054,101 @@
         }
     },
     "definitions": {
+        "httpRoute": {
+            "type": "object",
+            "additionalProperties": false,
+            "properties": {
+                "enabled": {
+                    "description": "Enable the HTTPRoute resource.",
+                    "type": "boolean",
+                    "default": false
+                },
+                "labels": {
+                    "description": "Extra labels for the HTTPRoute.",
+                    "type": "object",
+                    "default": {},
+                    "additionalProperties": {
+                        "type": "string"
+                    }
+                },
+                "annotations": {
+                    "description": "Annotations for the HTTPRoute.",
+                    "type": "object",
+                    "default": {},
+                    "additionalProperties": {
+                        "type": "string"
+                    }
+                },
+                "parentRefs": {
+                    "description": "List of parent Gateway references this 
HTTPRoute attaches to. Required when enabled.",
+                    "type": [
+                        "array",
+                        "null"
+                    ],
+                    "default": null,
+                    "minItems": 1,
+                    "items": {
+                        "type": "object",
+                        "properties": {
+                            "name": {
+                                "description": "Name of the referenced 
Gateway.",
+                                "type": "string"
+                            },
+                            "namespace": {
+                                "description": "Namespace of the referenced 
Gateway. Defaults to the local namespace.",
+                                "type": "string"
+                            },
+                            "sectionName": {
+                                "description": "Name of the Gateway listener 
section this route attaches to.",
+                                "type": "string"
+                            },
+                            "port": {
+                                "description": "Port of the Gateway listener 
this route attaches to.",
+                                "type": "integer"
+                            },
+                            "kind": {
+                                "description": "Kind of the referenced 
resource. Defaults to `Gateway`.",
+                                "type": "string"
+                            },
+                            "group": {
+                                "description": "API group of the referenced 
resource. Defaults to `gateway.networking.k8s.io`.",
+                                "type": "string"
+                            }
+                        },
+                        "required": [
+                            "name"
+                        ]
+                    }
+                },
+                "hostnames": {
+                    "description": "Hostnames this HTTPRoute should match 
(templated). Empty matches all.",
+                    "type": "array",
+                    "default": [],
+                    "items": {
+                        "type": "string"
+                    }
+                },
+                "path": {
+                    "description": "Default routing rule path (used only when 
`rules` is empty).",
+                    "type": "string",
+                    "default": "/"
+                },
+                "pathType": {
+                    "description": "The pathType for the default path: 
PathPrefix, Exact, or RegularExpression.",
+                    "type": "string",
+                    "default": "PathPrefix"
+                },
+                "rules": {
+                    "description": "Custom routing rules. When set, overrides 
the default rule generated from `path` + `pathType`. Each entry follows the 
upstream Gateway API `HTTPRouteRule` schema.",
+                    "type": "array",
+                    "default": [],
+                    "items": {
+                        "type": "object",
+                        "additionalProperties": {}
+                    }
+                }
+            }
+        },
         "io.k8s.api.apps.v1.DeploymentStrategy": {
             "description": "DeploymentStrategy describes how to replace 
existing pods with new ones.",
             "properties": {

Reply via email to