{
  "description": "A TemporalClusterClient creates a new mTLS client in the targeted temporal cluster.",
  "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": {
      "description": "TemporalClusterClientSpec defines the desired state of ClusterClient.",
      "properties": {
        "clusterRef": {
          "description": "Reference to the temporal cluster the client will get access to.",
          "properties": {
            "name": {
              "description": "The name of the temporal object to reference.",
              "type": "string"
            },
            "namespace": {
              "description": "The namespace of the temporal object to reference.\nDefaults to the namespace of the requested resource if omitted.",
              "type": "string"
            }
          },
          "type": "object",
          "additionalProperties": false
        }
      },
      "required": [
        "clusterRef"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "TemporalClusterClientStatus defines the observed state of ClusterClient.",
      "properties": {
        "secretRef": {
          "description": "Reference to the Kubernetes Secret containing the certificate for the client.",
          "properties": {
            "name": {
              "default": "",
              "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
              "type": "string"
            }
          },
          "type": "object",
          "x-kubernetes-map-type": "atomic",
          "additionalProperties": false
        },
        "serverName": {
          "description": "ServerName is the hostname returned by the certificate.",
          "type": "string"
        }
      },
      "required": [
        "serverName"
      ],
      "type": "object",
      "additionalProperties": false
    }
  },
  "type": "object"
}
