---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.14.0
  name: frrnodestates.frrk8s.metallb.io
spec:
  group: frrk8s.metallb.io
  names:
    kind: FRRNodeState
    listKind: FRRNodeStateList
    plural: frrnodestates
    singular: frrnodestate
  scope: Cluster
  versions:
  - name: v1beta1
    schema:
      openAPIV3Schema:
        description: FRRNodeState exposes the status of the FRR instance running on
          each node.
        properties:
          apiVersion:
            description: |-
              APIVersion defines the versioned schema of this representation of an object.
              Servers should convert recognized schemas to the latest internal value, and
              may reject unrecognized values.
              More 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.
              Servers may infer this from the endpoint the client submits requests to.
              Cannot be updated.
              In CamelCase.
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
            type: string
          metadata:
            type: object
          spec:
            description: FRRNodeStateSpec defines the desired state of FRRNodeState.
            type: object
          status:
            description: FRRNodeStateStatus defines the observed state of FRRNodeState.
            properties:
              lastConversionResult:
                description: LastConversionResult is the status of the last translation
                  between the `FRRConfiguration`s resources and FRR's configuration,
                  contains "success" or an error.
                type: string
              lastReloadResult:
                description: LastReloadResult represents the status of the last configuration
                  update operation by FRR, contains "success" or an error.
                type: string
              runningConfig:
                description: RunningConfig represents the current FRR running config,
                  which is the configuration the FRR instance is currently running
                  with.
                type: string
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
