---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: infrastructures.extensions.gardener.cloud
spec:
  group: extensions.gardener.cloud
  versions:
  - name: v1alpha1
    served: true
    storage: true
  version: v1alpha1
  scope: Namespaced
  names:
    plural: infrastructures
    singular: infrastructure
    kind: Infrastructure
    shortNames:
    - infra
  additionalPrinterColumns:
  - name: Type
    type: string
    description: The type of the cloud provider for this resource.
    JSONPath: .spec.type
  - name: Region
    type: string
    description: The region into which the infrastructure should be deployed.
    JSONPath: .spec.region
  - name: State
    type: string
    JSONPath: .status.lastOperation.state
  - name: Age
    type: date
    JSONPath: .metadata.creationTimestamp
  subresources:
    status: {}
