
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.4.1
  name: azureidentityterminators.azidterminator.io
spec:
  group: azidterminator.io
  names:
    kind: AzureIdentityTerminator
    listKind: AzureIdentityTerminatorList
    plural: azureidentityterminators
    shortNames:
    - azidt
    singular: azureidentityterminator
  scope: Namespaced
  versions:
  - additionalPrinterColumns:
    - description: The name of the Azure AD Application registered
      jsonPath: .spec.appRegistration.displayName
      name: AADApplication
      type: string
    - description: The life time of the ClientSecret
      jsonPath: .spec.servicePrincipal.clientSecretDuration
      name: ClientSecretDuration
      type: string
    - description: The time the ClientSecret will expire
      jsonPath: .status.servicePrincipal.clientSecretExpiration
      name: ClientSecretExp
      type: string
    - description: The selector that will bind pods to the AzureIdentityBinding
      jsonPath: .spec.podSelector
      name: PodSelector
      type: string
    name: v1alpha1
    schema:
      openAPIV3Schema:
        description: AzureIdentityTerminator is the Schema for the azureidentityterminators
          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: AzureIdentityTerminatorSpec defines the desired state of
              AzureIdentityTerminator
            properties:
              appRegistration:
                properties:
                  displayName:
                    type: string
                  objectID:
                    type: string
                type: object
              azureIdentityName:
                type: string
              nodeResourceGroup:
                type: string
              podSelector:
                type: string
              servicePrincipal:
                properties:
                  clientSecretDuration:
                    type: string
                  clientSecretExpiration:
                    format: date-time
                    type: string
                  objectID:
                    type: string
                  tags:
                    items:
                      type: string
                    type: array
                type: object
            required:
            - azureIdentityName
            - nodeResourceGroup
            - podSelector
            type: object
          status:
            description: AzureIdentityTerminatorStatus defines the observed state
              of AzureIdentityTerminator
            properties:
              appRegistration:
                properties:
                  displayName:
                    type: string
                  objectID:
                    type: string
                type: object
              azureIdentityBinding:
                type: string
              roleAssignment:
                properties:
                  name:
                    type: string
                  objectID:
                    type: string
                type: object
              servicePrincipal:
                properties:
                  clientSecretDuration:
                    type: string
                  clientSecretExpiration:
                    format: date-time
                    type: string
                  objectID:
                    type: string
                  tags:
                    items:
                      type: string
                    type: array
                type: object
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: []
  storedVersions: []