apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.7.0
  name: passlesses.wavesoftware.pl
spec:
  group: wavesoftware.pl
  names:
    kind: PassLess
    listKind: PassLessList
    plural: passlesses
    singular: passless
  scope: Namespaced
  versions:
  - name: v1alpha1
    schema:
      openAPIV3Schema:
        description: PassLess is the Schema for the passlesses 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:
            additionalProperties:
              description: PassLessEntry contains a configuration for each secret
                value to be generated.
              properties:
                length:
                  description: Length defines a length of the passless secret.
                  type: integer
                scope:
                  description: Scope defines a type of the passless secret.
                  type: string
                version:
                  description: Version defines an incremental number of a passless
                    secret. To change secret increment this number.
                  type: integer
              type: object
            description: PassLessSpec defines the desired state of PassLess.
            type: object
          status:
            description: PassLessStatus defines the observed state of PassLess.
            type: string
        type: object
    served: true
    storage: true
    subresources:
      status: {}
