mik-laj commented on a change in pull request #19181:
URL: https://github.com/apache/airflow/pull/19181#discussion_r741611007



##########
File path: chart/values.schema.json
##########
@@ -2069,11 +2258,38 @@
                         "annotations": {
                             "description": "Annotations for the webserver 
Service.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         },
                         "ports": {
                             "description": "Ports for the webserver Service.",
                             "type": "array",
+                            "items": {
+                                "type": "object",
+                                "additionalProperties": false,
+                                "properties": {
+                                    "name": {
+                                        "type": "string"
+                                    },
+                                    "port": {
+                                        "type": [
+                                            "string",
+                                            "integer"
+                                        ]
+                                    },
+                                    "targetPort": {
+                                        "type": [
+                                            "string",
+                                            "integer"
+                                        ]
+                                    },
+                                    "protocol": {
+                                        "type": "string"
+                                    }
+                                }
+                            },

Review comment:
       No. It is not compatible with current default value:
   ```
                                   {
                                       "name": "airflow-ui",
                                       "port": "{{ .Values.ports.airflowUI }}"
                                   }
   ```
   In the Kubernetes schema, the `port` field is defined as `integer`, but we 
use `string`.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to