apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.15.0
  creationTimestamp: null
  name: nexuses.edp.epam.com
spec:
  group: edp.epam.com
  names:
    kind: Nexus
    listKind: NexusList
    plural: nexuses
    singular: nexus
  scope: Namespaced
  versions:
  - additionalPrinterColumns:
    - description: Is connected to nexus
      jsonPath: .status.connected
      name: Connected
      type: boolean
    name: v1alpha1
    schema:
      openAPIV3Schema:
        description: Nexus is the Schema for the nexus API.
        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: NexusSpec defines the desired state of Nexus.
            properties:
              secret:
                description: |-
                  Secret is the name of the k8s object Secret related to nexus.
                  Secret should contain a user field with a nexus username and a password field with a nexus password.
                type: string
              url:
                description: Url is the url of nexus instance.
                type: string
            required:
            - secret
            - url
            type: object
          status:
            description: NexusStatus defines the observed state of Nexus.
            properties:
              connected:
                description: Connected shows if operator is connected to nexus.
                type: boolean
              error:
                description: Error represents error message if something went wrong.
                type: string
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: null
  storedVersions: null
