---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: ansibleautomationplatformazurebillings.platform.ansible.com
spec:
  group: platform.ansible.com
  names:
    kind: AnsibleAutomationPlatformAzureBilling
    listKind: AnsibleAutomationPlatformAzureBillingList
    plural: ansibleautomationplatformazurebillings
    singular: ansibleautomationplatformazurebilling
  scope: Namespaced
  versions:
  - name: v1alpha1
    schema:
      openAPIV3Schema:
        description: AnsibleAutomationPlatformAzureBilling is the Schema for the ansibleautomationplatformazurebillings 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: Spec defines the desired state of AnsibleAutomationPlatformAzureBilling
            properties:
              automationcontroller_db_secret:
                description: Secret where the automation controller database configuration can be found
                type: string
              azure_billing_db_secret:
                description: Secret where the azure billing database configuration can be found
                type: string
              image:
                description: Registry path to the application container to use
                type: string
              image_version:
                description: Application container image version to use
                type: string
              image_pull_secret:
                description: The image pull secret
                type: string
              pod_identity_binding_label:
                description: Azure Active Directory pod-managed Identity
                type: string
            required:
              - automationcontroller_db_secret
              - azure_billing_db_secret
            type: object
            x-kubernetes-preserve-unknown-fields: true
          status:
            description: Status defines the observed state of AnsibleAutomationPlatformAzureBilling
            properties:
              azureBillingCronJob:
                description: Azure Billing CronJob resource deployed
                type: string
              azureBillingImage:
                description: URL of the container image used for the deployed instance
                type: string
              azureBillingSettingsSecret:
                description: Azure Billing Settings Secret resource deployed
                type: string
            type: object
            x-kubernetes-preserve-unknown-fields: true
        type: object
    served: true
    storage: true
    subresources:
      status: {}
