github.com/giantswarm/apiextensions/v2@v2.6.2/config/crd/v1/provider.giantswarm.io_azureconfigs.yaml (about)

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.2.4
     8    creationTimestamp: null
     9    name: azureconfigs.provider.giantswarm.io
    10  spec:
    11    group: provider.giantswarm.io
    12    names:
    13      categories:
    14      - azure
    15      - giantswarm
    16      kind: AzureConfig
    17      listKind: AzureConfigList
    18      plural: azureconfigs
    19      singular: azureconfig
    20    scope: Namespaced
    21    versions:
    22    - name: v1alpha1
    23      schema:
    24        openAPIV3Schema:
    25          properties:
    26            apiVersion:
    27              description: 'APIVersion defines the versioned schema of this representation
    28                of an object. Servers should convert recognized schemas to the latest
    29                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    30              type: string
    31            kind:
    32              description: 'Kind is a string value representing the REST resource this
    33                object represents. Servers may infer this from the endpoint the client
    34                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    35              type: string
    36            metadata:
    37              type: object
    38            spec:
    39              properties:
    40                azure:
    41                  properties:
    42                    availabilityZones:
    43                      items:
    44                        type: integer
    45                      nullable: true
    46                      type: array
    47                    credentialSecret:
    48                      properties:
    49                        name:
    50                          type: string
    51                        namespace:
    52                          type: string
    53                      required:
    54                      - name
    55                      - namespace
    56                      type: object
    57                    dnsZones:
    58                      description: AzureConfigSpecAzureDNSZones contains the DNS Zones
    59                        of the cluster.
    60                      properties:
    61                        api:
    62                          description: API is the DNS Zone for the Kubernetes API.
    63                          properties:
    64                            name:
    65                              description: Name is the name of the zone.
    66                              type: string
    67                            resourceGroup:
    68                              description: ResourceGroup is the resource group of the
    69                                zone.
    70                              type: string
    71                          required:
    72                          - name
    73                          - resourceGroup
    74                          type: object
    75                        etcd:
    76                          description: Etcd is the DNS Zone for the etcd cluster.
    77                          properties:
    78                            name:
    79                              description: Name is the name of the zone.
    80                              type: string
    81                            resourceGroup:
    82                              description: ResourceGroup is the resource group of the
    83                                zone.
    84                              type: string
    85                          required:
    86                          - name
    87                          - resourceGroup
    88                          type: object
    89                        ingress:
    90                          description: Ingress is the DNS Zone for the Ingress resource,
    91                            used for customer traffic.
    92                          properties:
    93                            name:
    94                              description: Name is the name of the zone.
    95                              type: string
    96                            resourceGroup:
    97                              description: ResourceGroup is the resource group of the
    98                                zone.
    99                              type: string
   100                          required:
   101                          - name
   102                          - resourceGroup
   103                          type: object
   104                      required:
   105                      - api
   106                      - etcd
   107                      - ingress
   108                      type: object
   109                    masters:
   110                      items:
   111                        properties:
   112                          dockerVolumeSizeGB:
   113                            description: DockerVolumeSizeGB is the size of a volume
   114                              mounted to /var/lib/docker.
   115                            type: integer
   116                          kubeletVolumeSizeGB:
   117                            description: KubeletVolumeSizeGB is the size of a volume
   118                              mounted to /var/lib/kubelet.
   119                            type: integer
   120                          vmSize:
   121                            description: VMSize is the master vm size (e.g. Standard_A1)
   122                            type: string
   123                        required:
   124                        - dockerVolumeSizeGB
   125                        - kubeletVolumeSizeGB
   126                        - vmSize
   127                        type: object
   128                      type: array
   129                    virtualNetwork:
   130                      properties:
   131                        calicoSubnetCIDR:
   132                          description: CalicoSubnetCIDR is the CIDR for the calico subnet.
   133                            It has to be also a worker subnet (Azure limitation).
   134                          type: string
   135                        cidr:
   136                          description: CIDR is the CIDR for the Virtual Network.
   137                          type: string
   138                        masterSubnetCIDR:
   139                          description: "TODO: remove Master, Worker and Calico subnet
   140                            cidr after azure-operator v2 is deleted. MasterSubnetCIDR
   141                            is the CIDR for the master subnet. \n     https://github.com/giantswarm/giantswarm/issues/4358"
   142                          type: string
   143                        workerSubnetCIDR:
   144                          description: WorkerSubnetCIDR is the CIDR for the worker subnet.
   145                          type: string
   146                      required:
   147                      - calicoSubnetCIDR
   148                      - cidr
   149                      - masterSubnetCIDR
   150                      - workerSubnetCIDR
   151                      type: object
   152                    workers:
   153                      items:
   154                        properties:
   155                          dockerVolumeSizeGB:
   156                            description: DockerVolumeSizeGB is the size of a volume
   157                              mounted to /var/lib/docker.
   158                            type: integer
   159                          kubeletVolumeSizeGB:
   160                            description: KubeletVolumeSizeGB is the size of a volume
   161                              mounted to /var/lib/kubelet.
   162                            type: integer
   163                          vmSize:
   164                            description: VMSize is the master vm size (e.g. Standard_A1)
   165                            type: string
   166                        required:
   167                        - dockerVolumeSizeGB
   168                        - kubeletVolumeSizeGB
   169                        - vmSize
   170                        type: object
   171                      nullable: true
   172                      type: array
   173                  required:
   174                  - credentialSecret
   175                  - dnsZones
   176                  - masters
   177                  - virtualNetwork
   178                  type: object
   179                cluster:
   180                  properties:
   181                    calico:
   182                      properties:
   183                        cidr:
   184                          type: integer
   185                        mtu:
   186                          type: integer
   187                        subnet:
   188                          type: string
   189                      required:
   190                      - cidr
   191                      - mtu
   192                      - subnet
   193                      type: object
   194                    customer:
   195                      properties:
   196                        id:
   197                          type: string
   198                      required:
   199                      - id
   200                      type: object
   201                    docker:
   202                      properties:
   203                        daemon:
   204                          properties:
   205                            cidr:
   206                              type: string
   207                          required:
   208                          - cidr
   209                          type: object
   210                      required:
   211                      - daemon
   212                      type: object
   213                    etcd:
   214                      properties:
   215                        altNames:
   216                          type: string
   217                        domain:
   218                          type: string
   219                        port:
   220                          type: integer
   221                        prefix:
   222                          type: string
   223                      required:
   224                      - altNames
   225                      - domain
   226                      - port
   227                      - prefix
   228                      type: object
   229                    id:
   230                      type: string
   231                    kubernetes:
   232                      properties:
   233                        api:
   234                          properties:
   235                            clusterIPRange:
   236                              type: string
   237                            domain:
   238                              type: string
   239                            securePort:
   240                              type: integer
   241                          required:
   242                          - clusterIPRange
   243                          - domain
   244                          - securePort
   245                          type: object
   246                        cloudProvider:
   247                          type: string
   248                        dns:
   249                          properties:
   250                            ip:
   251                              type: string
   252                          required:
   253                          - ip
   254                          type: object
   255                        domain:
   256                          type: string
   257                        ingressController:
   258                          properties:
   259                            docker:
   260                              properties:
   261                                image:
   262                                  type: string
   263                              required:
   264                              - image
   265                              type: object
   266                            domain:
   267                              type: string
   268                            insecurePort:
   269                              type: integer
   270                            securePort:
   271                              type: integer
   272                            wildcardDomain:
   273                              type: string
   274                          required:
   275                          - docker
   276                          - domain
   277                          - insecurePort
   278                          - securePort
   279                          - wildcardDomain
   280                          type: object
   281                        kubelet:
   282                          properties:
   283                            altNames:
   284                              type: string
   285                            domain:
   286                              type: string
   287                            labels:
   288                              type: string
   289                            port:
   290                              type: integer
   291                          required:
   292                          - altNames
   293                          - domain
   294                          - labels
   295                          - port
   296                          type: object
   297                        networkSetup:
   298                          properties:
   299                            docker:
   300                              properties:
   301                                image:
   302                                  type: string
   303                              required:
   304                              - image
   305                              type: object
   306                            kubeProxy:
   307                              description: ClusterKubernetesNetworkSetupKubeProxy describes
   308                                values passed to the kube-proxy running in a tenant
   309                                cluster.
   310                              properties:
   311                                conntrackMaxPerCore:
   312                                  description: Maximum number of NAT connections to
   313                                    track per CPU core (0 to leave the limit as-is and
   314                                    ignore conntrack-min). Passed to kube-proxy as --conntrack-max-per-core.
   315                                  type: integer
   316                              required:
   317                              - conntrackMaxPerCore
   318                              type: object
   319                          required:
   320                          - docker
   321                          - kubeProxy
   322                          type: object
   323                        ssh:
   324                          properties:
   325                            userList:
   326                              items:
   327                                properties:
   328                                  name:
   329                                    type: string
   330                                  publicKey:
   331                                    type: string
   332                                required:
   333                                - name
   334                                - publicKey
   335                                type: object
   336                              type: array
   337                          required:
   338                          - userList
   339                          type: object
   340                      required:
   341                      - api
   342                      - cloudProvider
   343                      - dns
   344                      - domain
   345                      - ingressController
   346                      - kubelet
   347                      - networkSetup
   348                      - ssh
   349                      type: object
   350                    masters:
   351                      items:
   352                        properties:
   353                          id:
   354                            type: string
   355                        required:
   356                        - id
   357                        type: object
   358                      type: array
   359                    scaling:
   360                      properties:
   361                        max:
   362                          description: Max defines maximum number of worker nodes guest
   363                            cluster is allowed to have.
   364                          type: integer
   365                        min:
   366                          description: Min defines minimum number of worker nodes required
   367                            to be present in guest cluster.
   368                          type: integer
   369                      required:
   370                      - max
   371                      - min
   372                      type: object
   373                    version:
   374                      description: Version is DEPRECATED and should just be dropped.
   375                      type: string
   376                    workers:
   377                      items:
   378                        properties:
   379                          id:
   380                            type: string
   381                        required:
   382                        - id
   383                        type: object
   384                      type: array
   385                  required:
   386                  - calico
   387                  - customer
   388                  - docker
   389                  - etcd
   390                  - id
   391                  - kubernetes
   392                  - masters
   393                  - scaling
   394                  - version
   395                  type: object
   396                versionBundle:
   397                  properties:
   398                    version:
   399                      type: string
   400                  required:
   401                  - version
   402                  type: object
   403              required:
   404              - azure
   405              - cluster
   406              - versionBundle
   407              type: object
   408            status:
   409              properties:
   410                cluster:
   411                  properties:
   412                    conditions:
   413                      description: Conditions is a list of status information expressing
   414                        the current conditional state of a guest cluster. This may reflect
   415                        the status of the guest cluster being updating or being up to
   416                        date.
   417                      items:
   418                        description: StatusClusterCondition expresses the conditions
   419                          in which a guest cluster may is.
   420                        properties:
   421                          lastTransitionTime:
   422                            description: LastTransitionTime is the last time the condition
   423                              transitioned from one status to another.
   424                            format: date-time
   425                            nullable: true
   426                            type: string
   427                          status:
   428                            description: Status may be True, False or Unknown.
   429                            type: string
   430                          type:
   431                            description: Type may be Creating, Created, Scaling, Scaled,
   432                              Draining, Drained, Updating, Updated, Deleting, Deleted.
   433                            type: string
   434                        type: object
   435                      nullable: true
   436                      type: array
   437                    network:
   438                      description: StatusClusterNetwork expresses the network segment
   439                        that is allocated for a guest cluster.
   440                      nullable: true
   441                      properties:
   442                        cidr:
   443                          type: string
   444                      type: object
   445                    nodes:
   446                      description: Nodes is a list of guest cluster node information
   447                        reflecting the current state of the guest cluster nodes.
   448                      items:
   449                        description: StatusClusterNode holds information about a guest
   450                          cluster node.
   451                        properties:
   452                          labels:
   453                            additionalProperties:
   454                              type: string
   455                            description: Labels contains the kubernetes labels for corresponding
   456                              node.
   457                            nullable: true
   458                            type: object
   459                          lastTransitionTime:
   460                            description: LastTransitionTime is the last time the condition
   461                              transitioned from one status to another.
   462                            format: date-time
   463                            nullable: true
   464                            type: string
   465                          name:
   466                            description: Name referrs to a tenant cluster node name.
   467                            type: string
   468                          version:
   469                            description: Version referrs to the version used by the
   470                              node as mandated by the provider operator.
   471                            type: string
   472                        type: object
   473                      nullable: true
   474                      type: array
   475                    resources:
   476                      description: Resources is a list of arbitrary conditions of operatorkit
   477                        resource implementations.
   478                      items:
   479                        description: Resource is structure holding arbitrary conditions
   480                          of operatorkit resource implementations. Imagine an operator
   481                          implements an instance resource. This resource may operates
   482                          sequentially but has to operate based on a certain system
   483                          state it manages. So it tracks the status as needed here specific
   484                          to its own implementation and means in order to fulfil its
   485                          premise.
   486                        properties:
   487                          conditions:
   488                            items:
   489                              description: StatusClusterResourceCondition expresses
   490                                the conditions in which an operatorkit resource may
   491                                is.
   492                              properties:
   493                                lastTransitionTime:
   494                                  description: LastTransitionTime is the last time the
   495                                    condition transitioned from one status to another.
   496                                  format: date-time
   497                                  nullable: true
   498                                  type: string
   499                                status:
   500                                  description: Status may be True, False or Unknown.
   501                                  type: string
   502                                type:
   503                                  description: Type may be anything an operatorkit resource
   504                                    may define.
   505                                  type: string
   506                              type: object
   507                            nullable: true
   508                            type: array
   509                          name:
   510                            type: string
   511                        type: object
   512                      nullable: true
   513                      type: array
   514                    scaling:
   515                      description: StatusClusterScaling expresses the current status
   516                        of desired number of worker nodes in guest cluster.
   517                      nullable: true
   518                      properties:
   519                        desiredCapacity:
   520                          type: integer
   521                      type: object
   522                    versions:
   523                      description: Versions is a list that acts like a historical track
   524                        record of versions a guest cluster went through. A version is
   525                        only added to the list as soon as the guest cluster successfully
   526                        migrated to the version added here.
   527                      items:
   528                        description: StatusClusterVersion expresses the versions in
   529                          which a guest cluster was and may still be.
   530                        properties:
   531                          date:
   532                            description: "TODO date is deprecated due to LastTransitionTime
   533                              This can be removed ones the new properties are properly
   534                              used in all tenant clusters. \n     https://github.com/giantswarm/giantswarm/issues/3988"
   535                            format: date-time
   536                            nullable: true
   537                            type: string
   538                          lastTransitionTime:
   539                            description: LastTransitionTime is the last time the condition
   540                              transitioned from one status to another.
   541                            format: date-time
   542                            nullable: true
   543                            type: string
   544                          semver:
   545                            description: Semver is some semver version, e.g. 1.0.0.
   546                            type: string
   547                        type: object
   548                      nullable: true
   549                      type: array
   550                  type: object
   551                provider:
   552                  properties:
   553                    availabilityZones:
   554                      items:
   555                        type: integer
   556                      nullable: true
   557                      type: array
   558                    ingress:
   559                      nullable: true
   560                      properties:
   561                        loadBalancer:
   562                          nullable: true
   563                          properties:
   564                            publicIPName:
   565                              type: string
   566                          type: object
   567                      type: object
   568                  type: object
   569              type: object
   570          required:
   571          - metadata
   572          - spec
   573          type: object
   574      served: true
   575      storage: true
   576      subresources:
   577        status: {}
   578  status:
   579    acceptedNames:
   580      kind: ""
   581      plural: ""
   582    conditions: []
   583    storedVersions: []