---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.9.0
  creationTimestamp: null
  name: autoscalingstrategies.update.edgeless.systems
spec:
  group: update.edgeless.systems
  names:
    kind: AutoscalingStrategy
    listKind: AutoscalingStrategyList
    plural: autoscalingstrategies
    singular: autoscalingstrategy
  scope: Cluster
  versions:
  - name: v1alpha1
    schema:
      openAPIV3Schema:
        description: AutoscalingStrategy is the Schema for the autoscalingstrategies
          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: AutoscalingStrategySpec defines the desired state of AutoscalingStrategy
            properties:
              deploymentName:
                description: DeploymentName defines the name of the autoscaler deployment.
                type: string
              deploymentNamespace:
                description: DeploymentNamespace defines the namespace of the autoscaler
                  deployment.
                type: string
              enabled:
                description: Enabled defines whether cluster autoscaling should be
                  enabled or not.
                type: boolean
            required:
            - deploymentName
            - deploymentNamespace
            - enabled
            type: object
          status:
            description: AutoscalingStrategyStatus defines the observed state of AutoscalingStrategy
            properties:
              enabled:
                description: Enabled shows whether cluster autoscaling is currently
                  enabled or not.
                type: boolean
              replicas:
                description: Replicas is the number of replicas for the autoscaler
                  deployment.
                format: int32
                type: integer
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
