apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.18.0
  name: caliconodestatuses.crd.projectcalico.org
spec:
  group: crd.projectcalico.org
  names:
    kind: CalicoNodeStatus
    listKind: CalicoNodeStatusList
    plural: caliconodestatuses
    singular: caliconodestatus
  preserveUnknownFields: false
  scope: Cluster
  versions:
    - name: v1
      schema:
        openAPIV3Schema:
          properties:
            apiVersion:
              type: string
            kind:
              type: string
            metadata:
              type: object
            spec:
              properties:
                classes:
                  items:
                    type: string
                  type: array
                node:
                  type: string
                updatePeriodSeconds:
                  format: int32
                  type: integer
              type: object
            status:
              properties:
                agent:
                  properties:
                    birdV4:
                      properties:
                        lastBootTime:
                          type: string
                        lastReconfigurationTime:
                          type: string
                        routerID:
                          type: string
                        state:
                          type: string
                        version:
                          type: string
                      type: object
                    birdV6:
                      properties:
                        lastBootTime:
                          type: string
                        lastReconfigurationTime:
                          type: string
                        routerID:
                          type: string
                        state:
                          type: string
                        version:
                          type: string
                      type: object
                  type: object
                bgp:
                  properties:
                    numberEstablishedV4:
                      type: integer
                    numberEstablishedV6:
                      type: integer
                    numberNotEstablishedV4:
                      type: integer
                    numberNotEstablishedV6:
                      type: integer
                    peersV4:
                      items:
                        properties:
                          peerIP:
                            type: string
                          since:
                            type: string
                          state:
                            type: string
                          type:
                            type: string
                        type: object
                      type: array
                    peersV6:
                      items:
                        properties:
                          peerIP:
                            type: string
                          since:
                            type: string
                          state:
                            type: string
                          type:
                            type: string
                        type: object
                      type: array
                  required:
                    - numberEstablishedV4
                    - numberEstablishedV6
                    - numberNotEstablishedV4
                    - numberNotEstablishedV6
                  type: object
                lastUpdated:
                  format: date-time
                  nullable: true
                  type: string
                routes:
                  properties:
                    routesV4:
                      items:
                        properties:
                          destination:
                            type: string
                          gateway:
                            type: string
                          interface:
                            type: string
                          learnedFrom:
                            properties:
                              peerIP:
                                type: string
                              sourceType:
                                type: string
                            type: object
                          type:
                            type: string
                        type: object
                      type: array
                    routesV6:
                      items:
                        properties:
                          destination:
                            type: string
                          gateway:
                            type: string
                          interface:
                            type: string
                          learnedFrom:
                            properties:
                              peerIP:
                                type: string
                              sourceType:
                                type: string
                            type: object
                          type:
                            type: string
                        type: object
                      type: array
                  type: object
              type: object
          type: object
      served: true
      storage: true
