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

kamilbregula 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 2391b19  Strict schema for k8s objects for values.yaml (#19181)
2391b19 is described below

commit 2391b19df5c8a0e7bba536e5a80354633403dfa8
Author: Kamil BreguĊ‚a <mik-...@users.noreply.github.com>
AuthorDate: Sun Dec 5 12:11:39 2021 +0100

    Strict schema for k8s objects for values.yaml (#19181)
---
 chart/values.schema.json   | 610 +++++++++++++++++++++++++++++++++++++--------
 docs/spelling_wordlist.txt |   1 +
 2 files changed, 507 insertions(+), 104 deletions(-)

diff --git a/chart/values.schema.json b/chart/values.schema.json
index ee88120..7c34684 100644
--- a/chart/values.schema.json
+++ b/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-standalone-strict/affinity-v1.json";
         },
         "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-standalone-strict/toleration-v1.json";
+            }
         },
         "labels": {
             "description": "Add common labels to all objects and pods defined 
in this chart.",
@@ -124,7 +129,10 @@
                         "annotations": {
                             "description": "Annotations for the web Ingress.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         },
                         "path": {
                             "description": "The path for the web Ingress.",
@@ -191,7 +199,10 @@
                         "annotations": {
                             "description": "Annotations for the flower 
Ingress.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         },
                         "path": {
                             "description": "The path for the flower Ingress.",
@@ -259,13 +270,19 @@
             "description": "Extra annotations to apply to all Airflow pods.",
             "type": "object",
             "default": {},
-            "x-docsSection": "Kubernetes"
+            "x-docsSection": "Kubernetes",
+            "additionalProperties": {
+                "type": "string"
+            }
         },
         "airflowConfigAnnotations": {
             "description": "Extra annotations to apply to the main Airflow 
configmap.",
             "type": "object",
             "default": {},
-            "x-docsSection": "Kubernetes"
+            "x-docsSection": "Kubernetes",
+            "additionalProperties": {
+                "type": "string"
+            }
         },
         "airflowLocalSettings": {
             "description": "`airflow_local_settings` file as a string (can be 
templated).",
@@ -556,6 +573,22 @@
             "type": "array",
             "x-docsSection": "Airflow",
             "default": [],
+            "items": {
+                "type": "object",
+                "properties": {
+                    "name": {
+                        "type": "string"
+                    },
+                    "value": {
+                        "type": "string"
+                    }
+                },
+                "required": [
+                    "name",
+                    "value"
+                ],
+                "additionalProperties": false
+            },
             "examples": [
                 {
                     "name": "MYENVVAR",
@@ -568,6 +601,28 @@
             "type": "array",
             "x-docsSection": "Airflow",
             "default": [],
+            "items": {
+                "type": "object",
+                "properties": {
+                    "envName": {
+                        "description": "The name of the environment variable 
under which the secret will be available",
+                        "type": "string"
+                    },
+                    "secretName": {
+                        "description": "The name of the Kubernetes secret that 
will be read",
+                        "type": "string"
+                    },
+                    "secretKey": {
+                        "description": "The key of the Kubernetes secret",
+                        "type": "string"
+                    }
+                },
+                "additionalProperties": false,
+                "required": [
+                    "envName",
+                    "secretName"
+                ]
+            },
             "examples": [
                 {
                     "envName": "SecretEnvVar",
@@ -970,7 +1025,10 @@
                         "annotations": {
                             "description": "Annotations to add to the worker 
Kubernetes ServiceAccount.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         }
                     }
                 },
@@ -987,7 +1045,10 @@
                         "namespaceLabels": {
                             "description": "Labels used in `matchLabels` for 
namespace in the PgBouncer NetworkPolicy.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         },
                         "pollingInterval": {
                             "description": "How often KEDA polls the airflow 
DB to report new scale requests to the HPA.",
@@ -1066,7 +1127,8 @@
                                         "memory": "128Mi"
                                     }
                                 }
-                            ]
+                            ],
+                            "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/resourcerequirements-v1.json";
                         }
                     }
                 },
@@ -1085,7 +1147,8 @@
                                 "memory": "128Mi"
                             }
                         }
-                    ]
+                    ],
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/resourcerequirements-v1.json";
                 },
                 "terminationGracePeriodSeconds": {
                     "description": "Grace period for tasks to finish after 
SIGTERM is sent from Kubernetes.",
@@ -1100,22 +1163,34 @@
                 "extraContainers": {
                     "description": "Launch additional containers into workers. 
Note, if used with KubernetesExecutor, you are responsible for signaling 
sidecars to exit when the main container finishes so Airflow can continue the 
worker shutdown process!",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/container-v1.json";
+                    }
                 },
                 "extraInitContainers": {
                     "description": "Add additional init containers into 
workers.",
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/container-v1.json";
+                    },
                     "type": "array",
                     "default": []
                 },
                 "extraVolumes": {
                     "description": "Mount additional volumes into workers.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/volume-v1.json";
+                    }
                 },
                 "extraVolumeMounts": {
                     "description": "Mount additional volumes into workers.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/volumemount-v1.json";
+                    }
                 },
                 "nodeSelector": {
                     "description": "Select certain nodes for worker pods.",
@@ -1128,15 +1203,23 @@
                 "affinity": {
                     "description": "Specify scheduling constraints for worker 
pods.",
                     "type": "object",
-                    "default": "See values.yaml"
+                    "default": "See values.yaml",
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/affinity-v1.json";
                 },
                 "tolerations": {
                     "description": "Specify Tolerations for worker pods.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "type": "object",
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/toleration-v1.json";
+                    }
                 },
                 "hostAliases": {
                     "description": "Specify HostAliases for workers.",
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/hostalias-v1.json";
+                    },
                     "type": "array",
                     "default": [],
                     "examples": [
@@ -1157,11 +1240,15 @@
                 "podAnnotations": {
                     "description": "Annotations to add to the worker pods.",
                     "type": "object",
-                    "default": {}
+                    "default": {},
+                    "additionalProperties": {
+                        "type": "string"
+                    }
                 },
                 "logGroomerSidecar": {
                     "description": "Configuration for worker log groomer 
sidecar",
                     "type": "object",
+                    "additionalProperties": false,
                     "properties": {
                         "command": {
                             "description": "Command to use when running the 
Airflow workers log groomer sidecar (templated).",
@@ -1208,7 +1295,8 @@
                                         "memory": "128Mi"
                                     }
                                 }
-                            ]
+                            ],
+                            "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/resourcerequirements-v1.json";
                         }
                     }
                 }
@@ -1221,27 +1309,27 @@
             "additionalProperties": false,
             "properties": {
                 "livenessProbe": {
-                    "description": "Liveness probe configuration.",
+                    "description": "Liveness probe configuration for scheduler 
container.",
                     "type": "object",
                     "additionalProperties": false,
                     "properties": {
                         "initialDelaySeconds": {
-                            "description": "Scheduler Liveness probe initial 
delay.",
+                            "description": "Number of seconds after the 
container has started before liveness probes are initiated.",
                             "type": "integer",
                             "default": 10
                         },
                         "timeoutSeconds": {
-                            "description": "Scheduler Liveness probe timeout 
seconds.",
+                            "description": "Number of seconds after which the 
probe times out. Minimum value is 1 seconds.",
                             "type": "integer",
                             "default": 10
                         },
                         "failureThreshold": {
-                            "description": "Scheduler Liveness probe failure 
threshold.",
+                            "description": "Minimum consecutive failures for 
the probe to be considered failed after having succeeded. Minimum value is 1.",
                             "type": "integer",
                             "default": 5
                         },
                         "periodSeconds": {
-                            "description": "Scheduler Liveness probe period 
seconds.",
+                            "description": "How often (in seconds) to perform 
the probe. Minimum value is 1.",
                             "type": "integer",
                             "default": 60
                         }
@@ -1314,7 +1402,10 @@
                         "annotations": {
                             "description": "Annotations to add to the 
scheduler Kubernetes ServiceAccount.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         }
                     }
                 },
@@ -1357,7 +1448,8 @@
                                 "memory": "128Mi"
                             }
                         }
-                    ]
+                    ],
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/resourcerequirements-v1.json";
                 },
                 "safeToEvict": {
                     "description": "This setting tells Kubernetes that its ok 
to evict when it wants to scale a node down.",
@@ -1367,22 +1459,34 @@
                 "extraContainers": {
                     "description": "Launch additional containers into 
scheduler.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/container-v1.json";
+                    }
                 },
                 "extraInitContainers": {
                     "description": "Add additional init containers into 
scheduler.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/container-v1.json";
+                    }
                 },
                 "extraVolumes": {
                     "description": "Mount additional volumes into scheduler.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/volume-v1.json";
+                    }
                 },
                 "extraVolumeMounts": {
                     "description": "Mount additional volumes into scheduler.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/volumemount-v1.json";
+                    }
                 },
                 "nodeSelector": {
                     "description": "Select certain nodes for scheduler pods.",
@@ -1395,17 +1499,25 @@
                 "affinity": {
                     "description": "Specify scheduling constraints for 
scheduler pods.",
                     "type": "object",
-                    "default": "See values.yaml"
+                    "default": "See values.yaml",
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/affinity-v1.json";
                 },
                 "tolerations": {
                     "description": "Specify Tolerations for scheduler pods.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "type": "object",
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/toleration-v1.json";
+                    }
                 },
                 "podAnnotations": {
                     "description": "Annotations to add to the scheduler pods.",
                     "type": "object",
-                    "default": {}
+                    "default": {},
+                    "additionalProperties": {
+                        "type": "string"
+                    }
                 },
                 "logGroomerSidecar": {
                     "description": "Configuration for the schedulers log 
groomer sidecar.",
@@ -1461,7 +1573,8 @@
                                         "memory": "128Mi"
                                     }
                                 }
-                            ]
+                            ],
+                            "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/resourcerequirements-v1.json";
                         }
                     }
                 }
@@ -1479,27 +1592,27 @@
                     "default": true
                 },
                 "livenessProbe": {
-                    "description": "Liveness probe configuration.",
+                    "description": "Liveness probe configuration for 
triggerer.",
                     "type": "object",
                     "additionalProperties": false,
                     "properties": {
                         "initialDelaySeconds": {
-                            "description": "Triggerer Liveness probe initial 
delay.",
+                            "description": "Number of seconds after the 
container has started before liveness probes are initiated.",
                             "type": "integer",
                             "default": 10
                         },
                         "timeoutSeconds": {
-                            "description": "Triggerer Liveness probe timeout 
seconds.",
+                            "description": "Number of seconds after which the 
probe times out. Minimum value is 1 seconds.",
                             "type": "integer",
                             "default": 10
                         },
                         "failureThreshold": {
-                            "description": "Triggerer Liveness probe failure 
threshold.",
+                            "description": "Minimum consecutive failures for 
the probe to be considered failed after having succeeded. Minimum value is 1.",
                             "type": "integer",
                             "default": 5
                         },
                         "periodSeconds": {
-                            "description": "Triggerer Liveness probe period 
seconds.",
+                            "description": "How often (in seconds) to perform 
the probe. Minimum value is 1.",
                             "type": "integer",
                             "default": 60
                         }
@@ -1542,6 +1655,7 @@
                         "null",
                         "object"
                     ],
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/deploymentstrategy-apps-v1.json";,
                     "default": {
                         "rollingUpdate": {
                             "maxSurge": "100%",
@@ -1569,7 +1683,10 @@
                         "annotations": {
                             "description": "Annotations to add to the 
triggerer Kubernetes ServiceAccount.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         }
                     }
                 },
@@ -1588,7 +1705,8 @@
                                 "memory": "128Mi"
                             }
                         }
-                    ]
+                    ],
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/resourcerequirements-v1.json";
                 },
                 "safeToEvict": {
                     "description": "This setting tells Kubernetes that its ok 
to evict when it wants to scale a node down.",
@@ -1598,22 +1716,34 @@
                 "extraContainers": {
                     "description": "Launch additional containers into 
triggerer.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/container-v1.json";
+                    }
                 },
                 "extraInitContainers": {
                     "description": "Add additional init containers into 
triggerer.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/container-v1.json";
+                    }
                 },
                 "extraVolumes": {
                     "description": "Mount additional volumes into triggerer.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/volume-v1.json";
+                    }
                 },
                 "extraVolumeMounts": {
                     "description": "Mount additional volumes into triggerer.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/volumemount-v1.json";
+                    }
                 },
                 "nodeSelector": {
                     "description": "Select certain nodes for triggerer pods.",
@@ -1626,12 +1756,17 @@
                 "affinity": {
                     "description": "Specify scheduling constraints for 
triggerer pods.",
                     "type": "object",
-                    "default": "See values.yaml"
+                    "default": "See values.yaml",
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/affinity-v1.json";
                 },
                 "tolerations": {
                     "description": "Specify Tolerations for triggerer pods.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "type": "object",
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/toleration-v1.json";
+                    }
                 },
                 "terminationGracePeriodSeconds": {
                     "description": "Grace period for tasks to finish after 
SIGTERM is sent from Kubernetes.",
@@ -1641,7 +1776,10 @@
                 "podAnnotations": {
                     "description": "Annotations to add to the triggerer pods.",
                     "type": "object",
-                    "default": {}
+                    "default": {},
+                    "additionalProperties": {
+                        "type": "string"
+                    }
                 }
             }
         },
@@ -1654,16 +1792,23 @@
                 "annotations": {
                     "description": "Annotations to add to the create user job 
pod.",
                     "type": "object",
-                    "default": {}
+                    "default": {},
+                    "additionalProperties": {
+                        "type": "string"
+                    }
                 },
                 "jobAnnotations": {
                     "description": "Annotations to add to the create user job 
job.",
                     "type": "object",
-                    "default": {}
+                    "default": {},
+                    "additionalProperties": {
+                        "type": "string"
+                    }
                 },
                 "serviceAccount": {
                     "description": "Create ServiceAccount.",
                     "type": "object",
+                    "additionalProperties": false,
                     "properties": {
                         "create": {
                             "description": "Specifies whether a ServiceAccount 
should be created.",
@@ -1681,7 +1826,10 @@
                         "annotations": {
                             "description": "Annotations to add to the create 
user job Kubernetes ServiceAccount.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         }
                     }
                 },
@@ -1696,17 +1844,22 @@
                 "affinity": {
                     "description": "Specify scheduling constraints for the 
create user job pod.",
                     "type": "object",
-                    "default": {}
+                    "default": {},
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/affinity-v1.json";
                 },
                 "tolerations": {
                     "description": "Specify Tolerations for the create user 
job pod.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "type": "object",
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/toleration-v1.json";
+                    }
                 },
                 "resources": {
                     "description": "Resources for the create user job pod",
                     "type": "object",
-                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0/_definitions.json#/definitions/io.k8s.api.core.v1.ResourceRequirements";,
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/resourcerequirements-v1.json";,
                     "default": {},
                     "examples": [
                         {
@@ -1737,12 +1890,18 @@
                 "annotations": {
                     "description": "Annotations to add to the migrate database 
job pod.",
                     "type": "object",
-                    "default": {}
+                    "default": {},
+                    "additionalProperties": {
+                        "type": "string"
+                    }
                 },
                 "jobAnnotations": {
                     "description": "Annotations to add to the migrate database 
job.",
                     "type": "object",
-                    "default": {}
+                    "default": {},
+                    "additionalProperties": {
+                        "type": "string"
+                    }
                 },
                 "serviceAccount": {
                     "description": "Create ServiceAccount.",
@@ -1764,14 +1923,17 @@
                         "annotations": {
                             "description": "Annotations to add to the migrate 
database job Kubernetes ServiceAccount.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         }
                     }
                 },
                 "resources": {
                     "description": "Resources for the migrate database job 
pod",
                     "type": "object",
-                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0/_definitions.json#/definitions/io.k8s.api.core.v1.ResourceRequirements";,
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/resourcerequirements-v1.json";,
                     "default": {},
                     "examples": [
                         {
@@ -1789,7 +1951,10 @@
                 "extraContainers": {
                     "description": "Launch additional containers for the 
migrate database job pod",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/container-v1.json";
+                    }
                 },
                 "nodeSelector": {
                     "description": "Select certain nodes for the migrate 
database job pod.",
@@ -1802,12 +1967,17 @@
                 "affinity": {
                     "description": "Specify scheduling constraints for the 
migrate database job pod.",
                     "type": "object",
-                    "default": {}
+                    "default": {},
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/affinity-v1.json";
                 },
                 "tolerations": {
                     "description": "Specify Tolerations for the migrate 
database job pod.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "type": "object",
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/toleration-v1.json";
+                    }
                 },
                 "useHelmHooks": {
                     "description": "Specify if you want to use the default 
Helm Hook annotations",
@@ -1940,13 +2110,20 @@
                         "annotations": {
                             "description": "Annotations to add to the 
webserver Kubernetes ServiceAccount.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         }
                     }
                 },
                 "extraNetworkPolicies": {
                     "description": "Additional NetworkPolicies as needed 
(Deprecated - renamed to `webserver.networkPolicy.ingress.from`).",
                     "type": "array",
+                    "items": {
+                        "type": "object",
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/networkpolicypeer-networking-v1.json";
+                    },
                     "default": []
                 },
                 "networkPolicy": {
@@ -1962,11 +2139,17 @@
                                 "from": {
                                     "description": "Peers for webserver 
NetworkPolicy ingress.",
                                     "type": "array",
-                                    "default": []
+                                    "default": [],
+                                    "items": {
+                                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/networkpolicypeer-networking-v1.json";
+                                    }
                                 },
                                 "ports": {
                                     "description": "Ports for webserver 
NetworkPolicy ingress (if `from` is set).",
                                     "type": "array",
+                                    "items": {
+                                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/networkpolicyport-networking-v1.json";
+                                    },
                                     "default": [
                                         {
                                             "port": "airflow-ui"
@@ -1997,7 +2180,8 @@
                                 "memory": "128Mi"
                             }
                         }
-                    ]
+                    ],
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/resourcerequirements-v1.json";
                 },
                 "defaultUser": {
                     "description": "Optional default Airflow user information",
@@ -2045,22 +2229,34 @@
                 "extraContainers": {
                     "description": "Launch additional containers into 
webserver.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/container-v1.json";
+                    }
                 },
                 "extraInitContainers": {
                     "description": "Add additional init containers into 
webserver.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/container-v1.json";
+                    }
                 },
                 "extraVolumes": {
                     "description": "Mount additional volumes into webserver.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/volume-v1.json";
+                    }
                 },
                 "extraVolumeMounts": {
                     "description": "Mount additional volumes into webserver.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/volumemount-v1.json";
+                    }
                 },
                 "webserverConfig": {
                     "description": "This string (can be templated) will be 
mounted into the Airflow webserver as a custom `webserver_config.py`. You can 
bake a `webserver_config.py` in to your image instead.",
@@ -2087,11 +2283,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"
+                                    }
+                                }
+                            },
                             "default": [
                                 {
                                     "name": "airflow-ui",
@@ -2122,6 +2345,9 @@
                         "loadBalancerSourceRanges": {
                             "description": "Webserver Service 
``loadBalancerSourceRanges``.",
                             "type": "array",
+                            "items": {
+                                "type": "string"
+                            },
                             "default": [],
                             "examples": [
                                 "10.123.0.0/16"
@@ -2140,17 +2366,25 @@
                 "affinity": {
                     "description": "Specify scheduling constraints for 
webserver pods.",
                     "type": "object",
-                    "default": "See values.yaml"
+                    "default": "See values.yaml",
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/affinity-v1.json";
                 },
                 "tolerations": {
                     "description": "Specify Tolerations for webserver pods.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "type": "object",
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/toleration-v1.json";
+                    }
                 },
                 "podAnnotations": {
                     "description": "Annotations to add to the webserver pods.",
                     "type": "object",
-                    "default": {}
+                    "default": {},
+                    "additionalProperties": {
+                        "type": "string"
+                    }
                 }
             }
         },
@@ -2194,6 +2428,10 @@
                 "extraNetworkPolicies": {
                     "description": "Additional NetworkPolicies as needed 
(Deprecated - renamed to `flower.networkPolicy.ingress.from`).",
                     "type": "array",
+                    "items": {
+                        "type": "object",
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/networkpolicypeer-networking-v1.json";
+                    },
                     "default": []
                 },
                 "networkPolicy": {
@@ -2209,7 +2447,10 @@
                                 "from": {
                                     "description": "Peers for flower 
NetworkPolicy ingress.",
                                     "type": "array",
-                                    "default": []
+                                    "default": [],
+                                    "items": {
+                                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/networkpolicypeer-networking-v1.json";
+                                    }
                                 },
                                 "ports": {
                                     "description": "Ports for flower 
NetworkPolicy ingress (if `from` is set).",
@@ -2244,7 +2485,8 @@
                                 "memory": "128Mi"
                             }
                         }
-                    ]
+                    ],
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/resourcerequirements-v1.json";
                 },
                 "secretName": {
                     "description": "A secret containing the user and password 
pair.",
@@ -2283,11 +2525,38 @@
                         "annotations": {
                             "description": "Annotations for the flower 
Service.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         },
                         "ports": {
                             "description": "Ports for the flower Service.",
                             "type": "array",
+                            "items": {
+                                "type": "object",
+                                "additionalProperties": false,
+                                "properties": {
+                                    "name": {
+                                        "type": "string"
+                                    },
+                                    "port": {
+                                        "type": [
+                                            "string",
+                                            "integer"
+                                        ]
+                                    },
+                                    "targetPort": {
+                                        "type": [
+                                            "string",
+                                            "integer"
+                                        ]
+                                    },
+                                    "protocol": {
+                                        "type": "string"
+                                    }
+                                }
+                            },
                             "default": [
                                 {
                                     "name": "flower-ui",
@@ -2313,6 +2582,9 @@
                         "loadBalancerSourceRanges": {
                             "description": "Flower Service 
``loadBalancerSourceRanges``.",
                             "type": "array",
+                            "items": {
+                                "type": "string"
+                            },
                             "default": [],
                             "examples": [
                                 "10.123.0.0/16"
@@ -2340,19 +2612,28 @@
                         "annotations": {
                             "description": "Annotations to add to the worker 
Kubernetes ServiceAccount.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         }
                     }
                 },
                 "extraContainers": {
                     "description": "Launch additional containers into the 
flower pods.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/container-v1.json";
+                    }
                 },
                 "extraVolumes": {
                     "description": "Mount additional volumes into the flower 
pods.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/volume-v1.json";
+                    }
                 },
                 "nodeSelector": {
                     "description": "Select certain nodes for Flower pods.",
@@ -2365,17 +2646,25 @@
                 "affinity": {
                     "description": "Specify scheduling constraints for Flower 
pods.",
                     "type": "object",
-                    "default": {}
+                    "default": {},
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/affinity-v1.json";
                 },
                 "tolerations": {
                     "description": "Specify Tolerations for Flower pods.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "type": "object",
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/toleration-v1.json";
+                    }
                 },
                 "podAnnotations": {
                     "description": "Annotations to add to the Flower pods.",
                     "type": "object",
-                    "default": {}
+                    "default": {},
+                    "additionalProperties": {
+                        "type": "string"
+                    }
                 }
             }
         },
@@ -2393,6 +2682,10 @@
                 "extraNetworkPolicies": {
                     "description": "Additional NetworkPolicies as needed.",
                     "type": "array",
+                    "items": {
+                        "type": "object",
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/networkpolicypeer-networking-v1.json";
+                    },
                     "default": []
                 },
                 "resources": {
@@ -2410,7 +2703,8 @@
                                 "memory": "128Mi"
                             }
                         }
-                    ]
+                    ],
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/resourcerequirements-v1.json";
                 },
                 "service": {
                     "description": "StatsD Service configuration.",
@@ -2420,7 +2714,10 @@
                         "extraAnnotations": {
                             "description": "Extra annotations for the StatsD 
Service.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         }
                     }
                 },
@@ -2444,7 +2741,10 @@
                         "annotations": {
                             "description": "Annotations to add to the StatsD 
Kubernetes ServiceAccount.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         }
                     }
                 },
@@ -2464,12 +2764,17 @@
                 "affinity": {
                     "description": "Specify scheduling constraints for StatsD 
pods.",
                     "type": "object",
-                    "default": {}
+                    "default": {},
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/affinity-v1.json";
                 },
                 "tolerations": {
                     "description": "Specify Tolerations for StatsD pods.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "type": "object",
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/toleration-v1.json";
+                    }
                 },
                 "extraMappings": {
                     "description": "Additional mappings for StatsD exporter.",
@@ -2520,6 +2825,10 @@
                 "extraNetworkPolicies": {
                     "description": "Additional NetworkPolicies as needed.",
                     "type": "array",
+                    "items": {
+                        "type": "object",
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/networkpolicypeer-networking-v1.json";
+                    },
                     "default": []
                 },
                 "metadataPoolSize": {
@@ -2584,7 +2893,8 @@
                                 "memory": "128Mi"
                             }
                         }
-                    ]
+                    ],
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/resourcerequirements-v1.json";
                 },
                 "service": {
                     "description": "PgBouncer Service configuration.",
@@ -2594,7 +2904,10 @@
                         "extraAnnotations": {
                             "description": "Extra annotations for the 
PgBouncer Service.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         }
                     }
                 },
@@ -2705,7 +3018,10 @@
                         "annotations": {
                             "description": "Annotations to add to the worker 
Kubernetes ServiceAccount.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         }
                     }
                 },
@@ -2720,12 +3036,17 @@
                 "affinity": {
                     "description": "Specify scheduling constraints for 
PgBouncer pods.",
                     "type": "object",
-                    "default": {}
+                    "default": {},
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/affinity-v1.json";
                 },
                 "tolerations": {
                     "description": "Specify Tolerations for PgBouncer pods.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "type": "object",
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/toleration-v1.json";
+                    }
                 },
                 "uid": {
                     "description": "PgBouncer run as user parameter.",
@@ -2753,7 +3074,8 @@
                                         "memory": "128Mi"
                                     }
                                 }
-                            ]
+                            ],
+                            "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/resourcerequirements-v1.json";
                         }
                     }
                 }
@@ -2815,7 +3137,8 @@
                                 "memory": "128Mi"
                             }
                         }
-                    ]
+                    ],
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/resourcerequirements-v1.json";
                 },
                 "passwordSecretName": {
                     "description": "Redis password secret.",
@@ -2849,12 +3172,17 @@
                 "affinity": {
                     "description": "Specify scheduling constraints for Redis 
pods.",
                     "type": "object",
-                    "default": {}
+                    "default": {},
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/affinity-v1.json";
                 },
                 "tolerations": {
                     "description": "Specify Tolerations for Redis pods.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "type": "object",
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/toleration-v1.json";
+                    }
                 },
                 "serviceAccount": {
                     "description": "Create ServiceAccount.",
@@ -2876,7 +3204,10 @@
                         "annotations": {
                             "description": "Annotations to add to the worker 
Kubernetes ServiceAccount.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         }
                     }
                 }
@@ -2900,6 +3231,29 @@
                     "description": "Registry connection configuration.",
                     "type": "object",
                     "default": {},
+                    "additionalProperties": false,
+                    "properties": {
+                        "user": {
+                            "description": "Username",
+                            "type": "string",
+                            "default": ""
+                        },
+                        "pass": {
+                            "description": "Password",
+                            "type": "string",
+                            "default": ""
+                        },
+                        "host": {
+                            "description": "Host",
+                            "type": "string",
+                            "default": ""
+                        },
+                        "email": {
+                            "description": "Email",
+                            "type": "string",
+                            "default": ""
+                        }
+                    },
                     "examples": [
                         {
                             "user": "...",
@@ -2934,12 +3288,35 @@
                     "description": "Elasticsearch connection configuration.",
                     "type": "object",
                     "default": {},
+                    "additionalProperties": false,
+                    "properties": {
+                        "user": {
+                            "description": "Username",
+                            "type": "string",
+                            "default": ""
+                        },
+                        "pass": {
+                            "description": "Password",
+                            "type": "string",
+                            "default": ""
+                        },
+                        "host": {
+                            "description": "Host",
+                            "type": "string",
+                            "default": ""
+                        },
+                        "port": {
+                            "description": "Port",
+                            "type": "number",
+                            "default": 80
+                        }
+                    },
                     "examples": [
                         {
                             "user": "...",
                             "pass": "...",
                             "host": "...",
-                            "email": "..."
+                            "port": "..."
                         }
                     ]
                 }
@@ -2995,15 +3372,27 @@
         },
         "quotas": {
             "description": "Define any ResourceQuotas for namespace.",
-            "type": "object",
             "x-docsSection": "Kubernetes",
-            "default": {}
+            "default": {},
+            "additionalProperties": {
+                "oneOf": [
+                    {
+                        "type": "string"
+                    },
+                    {
+                        "type": "number"
+                    }
+                ]
+            }
         },
         "limits": {
             "description": "Define default/max/min values for pods and 
containers in namespace.",
             "type": "array",
             "x-docsSection": "Kubernetes",
-            "default": []
+            "default": [],
+            "items": {
+                "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/limitrangeitem-v1.json";
+            }
         },
         "cleanup": {
             "description": "This runs as a CronJob to cleanup old pods.",
@@ -3058,17 +3447,22 @@
                 "affinity": {
                     "description": "Specify scheduling constraints for cleanup 
pods.",
                     "type": "object",
-                    "default": {}
+                    "default": {},
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/affinity-v1.json";
                 },
                 "tolerations": {
                     "description": "Specify Tolerations for cleanup pods.",
                     "type": "array",
-                    "default": []
+                    "default": [],
+                    "items": {
+                        "type": "object",
+                        "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/toleration-v1.json";
+                    }
                 },
                 "resources": {
                     "description": "Resources for or cleanup pods",
                     "type": "object",
-                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0/_definitions.json#/definitions/io.k8s.api.core.v1.ResourceRequirements";,
+                    "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/resourcerequirements-v1.json";,
                     "default": {},
                     "examples": [
                         {
@@ -3086,6 +3480,7 @@
                 "serviceAccount": {
                     "description": "Create ServiceAccount.",
                     "type": "object",
+                    "additionalProperties": false,
                     "properties": {
                         "create": {
                             "description": "Specifies whether a ServiceAccount 
should be created.",
@@ -3103,7 +3498,10 @@
                         "annotations": {
                             "description": "Annotations to add to the cleanup 
CronJob Kubernetes ServiceAccount.",
                             "type": "object",
-                            "default": {}
+                            "default": {},
+                            "additionalProperties": {
+                                "type": "string"
+                            }
                         }
                     }
                 }
@@ -3273,7 +3671,10 @@
                         "extraVolumeMounts": {
                             "description": "Mount additional volumes into git 
sync container.",
                             "type": "array",
-                            "default": []
+                            "default": [],
+                            "items": {
+                                "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/volumemount-v1.json";
+                            }
                         },
                         "credentialsSecret": {
                             "description": "Name of a Secret containing the 
repo `GIT_SYNC_USERNAME` and `GIT_SYNC_PASSWORD`.",
@@ -3345,7 +3746,8 @@
                                         "memory": "128Mi"
                                     }
                                 }
-                            ]
+                            ],
+                            "$ref": 
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.0-standalone-strict/resourcerequirements-v1.json";
                         }
                     }
                 }
diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt
index 4703bd2..223c342 100644
--- a/docs/spelling_wordlist.txt
+++ b/docs/spelling_wordlist.txt
@@ -936,6 +936,7 @@ lifecycle
 lineterminator
 linter
 linux
+liveness
 livy
 loadBalancerIP
 localExecutor

Reply via email to