apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    build.aep.asag.io/source: hiera-api
    build.aep.asag.io/version: 0.0.0-e4975bd0
    controller-gen.kubebuilder.io/version: v0.10.0
  creationTimestamp: null
  name: hieras.aep.asag.io
spec:
  group: aep.asag.io
  names:
    kind: Hiera
    listKind: HieraList
    plural: hieras
    singular: hiera
  scope: Namespaced
  versions:
    - name: v1
      schema:
        openAPIV3Schema:
          description: Hiera resource
          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
            data:
              properties:
                provision:
                  description: Structured data
                  properties:
                    initComplete:
                      description: Initialisation complete
                      type: boolean
                    instance:
                      properties:
                        actual:
                          description: Effective name of the resource provision
                          type: string
                        annotations:
                          additionalProperties:
                            type: string
                          description: Annotations for this resource
                          type: object
                        clusters:
                          description: Data of clusters for this instance
                          items:
                            properties:
                              actual:
                                description: Effective name of the resource provision
                                type: string
                              annotations:
                                additionalProperties:
                                  type: string
                                description: Annotations for this resource
                                type: object
                              endpoints:
                                description: Data of endpoints for this instance
                                items:
                                  properties:
                                    actual:
                                      description: Effective name of the resource provision
                                      type: string
                                    addresses:
                                      description: List of endpoint addresses
                                      items:
                                        description: EndpointAddress contain the addresses to a network node
                                        properties:
                                          fqdn:
                                            description: The FQDN of this endpoint address
                                            type: string
                                          ip:
                                            description: The primary IP (the first returned address from the underlying resource, which can depend on the configuration order). Holds only one address if both v4 and v6 are configured.
                                            type: string
                                        type: object
                                      type: array
                                    annotations:
                                      additionalProperties:
                                        type: string
                                      description: Annotations for this resource
                                      type: object
                                    backends:
                                      description: List of backend addresses. Only available if network type is loadbalanced.
                                      items:
                                        description: EndpointBackend info and address
                                        properties:
                                          minion:
                                            description: Minion name this node runs on
                                            type: string
                                          node:
                                            description: Name of the node
                                            type: string
                                          ready:
                                            description: Whether the node is ready and accepting traffic
                                            type: boolean
                                        type: object
                                      type: array
                                    flags:
                                      description: Flags for this resource, value has the type as declared in the Definition
                                      type: object
                                      x-kubernetes-preserve-unknown-fields: true
                                    labels:
                                      additionalProperties:
                                        type: string
                                      description: Labels for this resource
                                      type: object
                                    name:
                                      description: Which endpoint definition this entry belongs to
                                      type: string
                                    phase:
                                      description: Phase to describe the overall current status
                                      enum:
                                        - error
                                        - waiting
                                        - ok
                                        - ready
                                      type: string
                                    ports:
                                      description: List of endpoint ports
                                      items:
                                        description: Protocol and port address info
                                        properties:
                                          name:
                                            description: Name of the port
                                            type: string
                                          port:
                                            description: Port
                                            format: int32
                                            type: integer
                                          protocol:
                                            default: TCP
                                            description: Protocol
                                            enum:
                                              - TCP
                                              - UDP
                                            type: string
                                        required:
                                          - port
                                          - protocol
                                        type: object
                                      type: array
                                    reason:
                                      description: A brief human-readable message indicating details about why this resource is in this state.
                                      type: string
                                    settings:
                                      description: Settings for this resource, value has the type as declared in the Definition
                                      type: object
                                      x-kubernetes-preserve-unknown-fields: true
                                    uid:
                                      description: UID of the resource provision
                                      type: string
                                  type: object
                                type: array
                              flags:
                                description: Flags for this resource, value has the type as declared in the Definition
                                type: object
                                x-kubernetes-preserve-unknown-fields: true
                              labels:
                                additionalProperties:
                                  type: string
                                description: Labels for this resource
                                type: object
                              limits:
                                description: Limits for the node
                                properties:
                                  cpu:
                                    anyOf:
                                      - type: integer
                                      - type: string
                                    description: CPU count limit
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
                                  ram:
                                    anyOf:
                                      - type: integer
                                      - type: string
                                    description: RAM size limit
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
                                  rootfs:
                                    anyOf:
                                      - type: integer
                                      - type: string
                                    description: RootFS size limit
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
                                type: object
                              name:
                                description: Which cluster definition this entry belongs to
                                type: string
                              nodes:
                                description: Data of nodes for this instance
                                items:
                                  properties:
                                    actual:
                                      description: Effective name of the resource provision
                                      type: string
                                    annotations:
                                      additionalProperties:
                                        type: string
                                      description: Annotations for this resource
                                      type: object
                                    flags:
                                      description: Flags for this resource, value has the type as declared in the Definition
                                      type: object
                                      x-kubernetes-preserve-unknown-fields: true
                                    fqdn:
                                      description: The FQDN of this endpoint address
                                      type: string
                                    ip:
                                      description: The primary IP (the first returned address from the underlying resource, which can depend on the configuration order). Holds only one address if both v4 and v6 are configured.
                                      type: string
                                    labels:
                                      additionalProperties:
                                        type: string
                                      description: Labels for this resource
                                      type: object
                                    limits:
                                      description: Limits for the node
                                      properties:
                                        cpu:
                                          anyOf:
                                            - type: integer
                                            - type: string
                                          description: CPU count limit
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        ram:
                                          anyOf:
                                            - type: integer
                                            - type: string
                                          description: RAM size limit
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        rootfs:
                                          anyOf:
                                            - type: integer
                                            - type: string
                                          description: RootFS size limit
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                      type: object
                                    minion:
                                      description: Which minion the node is running on
                                      type: string
                                    phase:
                                      description: Phase to describe the overall current status
                                      enum:
                                        - error
                                        - waiting
                                        - ok
                                        - ready
                                      type: string
                                    podPhase:
                                      description: The pod phase as status
                                      type: string
                                    ports:
                                      description: List of ports exposed from the container
                                      items:
                                        description: Protocol and port address info
                                        properties:
                                          name:
                                            description: Name of the port
                                            type: string
                                          port:
                                            description: Port
                                            format: int32
                                            type: integer
                                          protocol:
                                            default: TCP
                                            description: Protocol
                                            enum:
                                              - TCP
                                              - UDP
                                            type: string
                                        required:
                                          - port
                                          - protocol
                                        type: object
                                      type: array
                                    raw:
                                      description: Arbitrary raw values
                                      type: object
                                      x-kubernetes-preserve-unknown-fields: true
                                    ready:
                                      description: Whether the pod is ready for incoming traffic. The readiness probe, if defined in the pod, has succeeded.
                                      type: boolean
                                    reason:
                                      description: A brief human-readable message indicating details about why this resource is in this state.
                                      type: string
                                    settings:
                                      description: Settings for this resource, value has the type as declared in the Definition
                                      type: object
                                      x-kubernetes-preserve-unknown-fields: true
                                    uid:
                                      description: UID of the resource provision
                                      type: string
                                  type: object
                                type: array
                              phase:
                                description: Phase to describe the overall current status
                                enum:
                                  - error
                                  - waiting
                                  - ok
                                  - ready
                                type: string
                              raw:
                                description: Arbitrary raw values
                                type: object
                                x-kubernetes-preserve-unknown-fields: true
                              reason:
                                description: A brief human-readable message indicating details about why this resource is in this state.
                                type: string
                              settings:
                                description: Settings for this resource, value has the type as declared in the Definition
                                type: object
                                x-kubernetes-preserve-unknown-fields: true
                              uid:
                                description: UID of the resource provision
                                type: string
                            type: object
                          type: array
                        flags:
                          description: Flags for this resource, value has the type as declared in the Definition
                          type: object
                          x-kubernetes-preserve-unknown-fields: true
                        labels:
                          additionalProperties:
                            type: string
                          description: Labels for this resource
                          type: object
                        limits:
                          description: Limits for the node
                          properties:
                            cpu:
                              anyOf:
                                - type: integer
                                - type: string
                              description: CPU count limit
                              pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                              x-kubernetes-int-or-string: true
                            ram:
                              anyOf:
                                - type: integer
                                - type: string
                              description: RAM size limit
                              pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                              x-kubernetes-int-or-string: true
                            rootfs:
                              anyOf:
                                - type: integer
                                - type: string
                              description: RootFS size limit
                              pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                              x-kubernetes-int-or-string: true
                          type: object
                        phase:
                          description: Phase to describe the overall current status
                          enum:
                            - error
                            - waiting
                            - ok
                            - ready
                          type: string
                        raw:
                          description: Arbitrary raw values
                          type: object
                          x-kubernetes-preserve-unknown-fields: true
                        reason:
                          description: A brief human-readable message indicating details about why this resource is in this state.
                          type: string
                        settings:
                          description: Settings for this resource, value has the type as declared in the Definition
                          type: object
                          x-kubernetes-preserve-unknown-fields: true
                        uid:
                          description: UID of the resource provision
                          type: string
                      type: object
                    name:
                      description: Effective name of the provision
                      type: string
                    namespace:
                      description: Effective namespace of the provision
                      type: string
                    phase:
                      description: Phase to describe the overall current status
                      enum:
                        - error
                        - waiting
                        - ok
                        - ready
                      type: string
                    progress:
                      description: A simple progress indicator of the current transition. If not empty a transition is ongoing and the value contains an integer from 0 up to 100 with percent sign. Empty means there is no transition or the transition is finished (whether successful or not) and thus the expected result should be checked with the `phase` field.
                      type: string
                    reason:
                      description: A brief human-readable message indicating details about why this resource is in this state.
                      type: string
                    uid:
                      description: UID of the provision
                      type: string
                  type: object
              required:
                - provision
              type: object
            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
          required:
            - data
            - metadata
          type: object
      served: true
      storage: true
