You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/03 04:16:10 UTC

[GitHub] [airflow] mik-laj commented on a change in pull request #19181: More strict schema for values.yaml

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



##########
File path: chart/values.schema.json
##########
@@ -89,13 +89,18 @@
             "description": "Specify scheduling constraints for all pods.",
             "type": "object",
             "default": {},
-            "x-docsSection": "Kubernetes"
+            "x-docsSection": "Kubernetes",
+            "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0/_definitions.json#/definitions/io.k8s.api.core.v1.Affinity"
         },
         "tolerations": {
             "description": "Specify Tolerations for all pods.",
             "type": "array",
             "default": [],
-            "x-docsSection": "Kubernetes"
+            "x-docsSection": "Kubernetes",
+            "items": {
+                "type": "object",
+                "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0/_definitions.json#/definitions/io.k8s.api.core.v1.Toleration"

Review comment:
       Fie `_definitions.json` is easier to browse as we can use CTRL + F to search by field name.




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org