{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "http://judkins.house/apis/k2/v1/kubeDns.json",
    "$$target": "kubeDns.json",
    "title": "Kubernetes DNS Configurations",
    "description": "Describes the configuration of DNS for the Kubernetes cluster.",
    "properties": {
        "cluster_ip": {
            "description": "This should be the same as the IP set in the deployment.clusters[x].dns in the main configuration file.",
            "type": "string"
        },
        "dns_domain": {
            "description": "This should be the same as the domain set in deployment.clusters[x].domain in the main configuration file.",
            "type": "string"
        },
        "namespace": {
            "description": "Kubernetes is expecting DNS to be in kube-system.",
            "type": "string"
        }
    },
    "required": [
        "cluster_ip",
        "dns_domain"
    ],
    "additionalProperties": false,
    "type": "object"
}