# Code generated by skv2. DO NOT EDIT.

apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    crd.solo.io/specHash: 7024420dbfc0b66f
    crd.solo.io/version: 1.2.0
  labels:
    app: gloo-mesh
    app.kubernetes.io/name: gloo-mesh
  name: xdsconfigs.xds.agent.enterprise.mesh.gloo.solo.io
spec:
  group: xds.agent.enterprise.mesh.gloo.solo.io
  names:
    kind: XdsConfig
    listKind: XdsConfigList
    plural: xdsconfigs
    singular: xdsconfig
  scope: Namespaced
  versions:
  - name: v1beta1
    schema:
      openAPIV3Schema:
        properties:
          spec:
            description: |-
              XdsConfigs are used to issue xDS Configuration Resources to running Envoy instances.
                 They are created by Gloo Mesh for processing by an agent running on managed clusters.

                 The agent will serve the specified xDS configuration resources on its grpc-xds port (default 9977)
                 to the Envoy instances (nodes) defined in the XDSConfigSpec.

                 This feature is currently only available in Gloo Mesh Enterprise.
            properties:
              types:
                description: |-
                  The xDS resources to serve to the nodes.
                  Mapped by type URL.
                items:
                  properties:
                    resources:
                      description: Stored as compressed, base-64 encoded raw bytes.
                      items:
                        properties:
                          compressedData:
                            description: Stored as compressed, base-64 encoded raw
                              bytes.
                            format: binary
                            type: string
                          name:
                            description: Name of the resource as referenced by xDS.
                            type: string
                        type: object
                      type: array
                    typeUrl:
                      description: The type URL of the resources in the given set.
                      type: string
                  type: object
                type: array
              workloads:
                description: The Workloads that will receive this xDS Configuration.
                items:
                  properties:
                    name:
                      description: name of the resource being referenced
                      type: string
                    namespace:
                      description: namespace of the resource being referenced
                      type: string
                  type: object
                type: array
            type: object
          status:
            description: The XdsConfig status is written by the CertificateRequesting
              agent.
            properties:
              error:
                description: |-
                  Any error observed which prevented the XdsConfig from being processed.
                  If the error is empty, the request has been processed successfully.
                type: string
              observedGeneration:
                description: |-
                  The most recent generation observed in the the XdsConfig metadata.
                  If the `observedGeneration` does not match `metadata.generation`, the Gloo Mesh agent has not processed the most
                  recent version of this XdsConfig.
                format: int64
                type: integer
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
