{
  "$schema": "http://json-schema.org/schema#",
  "type": "object",
  "additionalProperties": false,
  "$defs": {
    "values": {
      "type": "object",
      "properties": {
        "global": {
          "type": "object"
        },
        "affinity": {
          "type": "object"
        },
        "securityContext": {
          "type": [
            "object",
            "null"
          ]
        },
        "containerSecurityContext": {
          "type": [
            "object",
            "null"
          ]
        },
        "kind": {
          "type": "string",
          "enum": [
            "Deployment",
            "DaemonSet"
          ]
        },
        "annotations": {
          "additionalProperties": {
            "type": [
              "string",
              "integer"
            ]
          },
          "type": "object"
        },
        "autoscaling": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "maxReplicas": {
              "type": "integer"
            },
            "minReplicas": {
              "type": "integer"
            },
            "targetCPUUtilizationPercentage": {
              "type": "integer"
            }
          }
        },
        "env": {
          "type": "object"
        },
        "strategy": {
          "type": "object"
        },
        "minReadySeconds": {
          "type": [ "null", "integer" ]
        },
        "readinessProbe": {
          "type": [ "null", "object" ]
        },
        "labels": {
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "nodeSelector": {
          "type": "object"
        },
        "podAnnotations": {
          "type": "object",
          "properties": {
            "inject.istio.io/templates": {
              "type": "string"
            },
            "prometheus.io/path": {
              "type": "string"
            },
            "prometheus.io/port": {
              "type": "string"
            },
            "prometheus.io/scrape": {
              "type": "string"
            }
          }
        },
        "replicaCount": {
          "type": [
            "integer",
            "null"
          ]
        },
        "resources": {
          "type": "object",
          "properties": {
            "limits": {
              "type": "object",
              "properties": {
                "cpu": {
                  "type": ["string", "null"]
                },
                "memory": {
                  "type": ["string", "null"]
                }
              }
            },
            "requests": {
              "type": "object",
              "properties": {
                "cpu": {
                  "type": ["string", "null"]
                },
                "memory": {
                  "type": ["string", "null"]
                }
              }
            }
          }
        },
        "revision": {
          "type": "string"
        },
        "compatibilityVersion": {
          "type": "string"
        },
        "runAsRoot": {
          "type": "boolean"
        },
        "unprivilegedPort": {
          "type": [
            "string",
            "boolean"
          ],
          "enum": [
            true,
            false,
            "auto"
          ]
        },
        "service": {
          "type": "object",
          "properties": {
            "annotations": {
              "type": "object"
            },
            "externalTrafficPolicy": {
              "type": "string"
            },
            "loadBalancerIP": {
              "type": "string"
            },
            "loadBalancerSourceRanges": {
              "type": "array"
            },
            "ipFamilies": {
              "items": {
                "type": "string",
                "enum": [
                  "IPv4",
                  "IPv6"
                ]
              }
            },
            "ipFamilyPolicy": {
              "type": "string",
              "enum": [
                "",
                "SingleStack",
                "PreferDualStack",
                "RequireDualStack"
              ]
            },
            "ports": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "port": {
                    "type": "integer"
                  },
                  "protocol": {
                    "type": "string"
                  },
                  "targetPort": {
                    "type": "integer"
                  }
                }
              }
            },
            "type": {
              "type": "string"
            }
          }
        },
        "serviceAccount": {
          "type": "object",
          "properties": {
            "annotations": {
              "type": "object"
            },
            "name": {
              "type": "string"
            },
            "create": {
              "type": "boolean"
            }
          }
        },
        "rbac": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean"
            }
          }
        },
        "tolerations": {
          "type": "array"
        },
        "topologySpreadConstraints": {
          "type": "array"
        },
        "networkGateway": {
          "type": "string"
        },
        "imagePullPolicy": {
          "type": "string",
          "enum": [
            "",
            "Always",
            "IfNotPresent",
            "Never"
          ]
        },
        "imagePullSecrets": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              }
            }
          }
        },
        "podDisruptionBudget": {
          "type": "object",
          "properties": {
            "minAvailable": {
              "type": [
                "integer",
                "string"
              ]
            },
            "maxUnavailable": {
              "type": [
                "integer",
                "string"
              ]
            },
            "unhealthyPodEvictionPolicy": {
              "type": "string",
              "enum": [
                "",
                "IfHealthyBudget",
                "AlwaysAllow"
              ]
            }
          }
        },
        "terminationGracePeriodSeconds": {
          "type": "number"
        },
        "volumes": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "volumeMounts": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "priorityClassName": {
          "type": "string"
        }
      }
    }
  },
  "defaults": {
    "$ref": "#/$defs/values"
  },
  "$ref": "#/$defs/values"
}
