{
  "description": "ReloaderReport is the Schema for the ReloaderReport API",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": "string"
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "properties": {
        "clusterName": {
          "description": "ClusterName is the name of the Cluster this ReloaderReport\nis for.",
          "type": "string"
        },
        "clusterNamespace": {
          "description": "ClusterNamespace is the namespace of the Cluster this\nReloaderReport is for.",
          "type": "string"
        },
        "clusterType": {
          "description": "ClusterType is the type of Cluster this ReloaderReport\nis for.",
          "type": "string"
        },
        "resourcesToReload": {
          "description": "ResourcesToReload contains a list of resources that requires\nrolling upgrade",
          "items": {
            "description": "ReloaderInfo represents a resource that need to be reloaded\nif any mounted ConfigMap/Secret changes.",
            "properties": {
              "kind": {
                "description": "Kind of the resource. Supported kinds are: Deployment StatefulSet DaemonSet.",
                "enum": [
                  "Deployment",
                  "StatefulSet",
                  "DaemonSet"
                ],
                "type": "string"
              },
              "name": {
                "description": "Name of the referenced resource.",
                "minLength": 1,
                "type": "string"
              },
              "namespace": {
                "description": "Namespace of the referenced resource.",
                "minLength": 1,
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            },
            "required": [
              "kind",
              "name",
              "namespace"
            ],
            "type": "object",
            "additionalProperties": false
          },
          "type": "array"
        }
      },
      "required": [
        "clusterName",
        "clusterNamespace",
        "clusterType"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "ReloaderReportStatus defines the observed state of ReloaderReport",
      "properties": {
        "phase": {
          "description": "Phase represents the current phase of report.",
          "enum": [
            "WaitingForDelivery",
            "Delivering",
            "Processed"
          ],
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    }
  },
  "type": "object"
}
