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

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1beta1
     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    subresources:
    22      status: {}
    23    validation:
    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 mounted
   114                            to /var/lib/docker.
   115                          type: integer
   116                        kubeletVolumeSizeGB:
   117                          description: KubeletVolumeSizeGB is the size of a volume mounted
   118                            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 mounted
   157                            to /var/lib/docker.
   158                          type: integer
   159                        kubeletVolumeSizeGB:
   160                          description: KubeletVolumeSizeGB is the size of a volume mounted
   161                            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 cluster.
   309                            properties:
   310                              conntrackMaxPerCore:
   311                                description: Maximum number of NAT connections to track
   312                                  per CPU core (0 to leave the limit as-is and ignore
   313                                  conntrack-min). Passed to kube-proxy as --conntrack-max-per-core.
   314                                type: integer
   315                            required:
   316                            - conntrackMaxPerCore
   317                            type: object
   318                        required:
   319                        - docker
   320                        - kubeProxy
   321                        type: object
   322                      ssh:
   323                        properties:
   324                          userList:
   325                            items:
   326                              properties:
   327                                name:
   328                                  type: string
   329                                publicKey:
   330                                  type: string
   331                              required:
   332                              - name
   333                              - publicKey
   334                              type: object
   335                            type: array
   336                        required:
   337                        - userList
   338                        type: object
   339                    required:
   340                    - api
   341                    - cloudProvider
   342                    - dns
   343                    - domain
   344                    - ingressController
   345                    - kubelet
   346                    - networkSetup
   347                    - ssh
   348                    type: object
   349                  masters:
   350                    items:
   351                      properties:
   352                        id:
   353                          type: string
   354                      required:
   355                      - id
   356                      type: object
   357                    type: array
   358                  scaling:
   359                    properties:
   360                      max:
   361                        description: Max defines maximum number of worker nodes guest
   362                          cluster is allowed to have.
   363                        type: integer
   364                      min:
   365                        description: Min defines minimum number of worker nodes required
   366                          to be present in guest cluster.
   367                        type: integer
   368                    required:
   369                    - max
   370                    - min
   371                    type: object
   372                  version:
   373                    description: Version is DEPRECATED and should just be dropped.
   374                    type: string
   375                  workers:
   376                    items:
   377                      properties:
   378                        id:
   379                          type: string
   380                      required:
   381                      - id
   382                      type: object
   383                    type: array
   384                required:
   385                - calico
   386                - customer
   387                - docker
   388                - etcd
   389                - id
   390                - kubernetes
   391                - masters
   392                - scaling
   393                - version
   394                type: object
   395              versionBundle:
   396                properties:
   397                  version:
   398                    type: string
   399                required:
   400                - version
   401                type: object
   402            required:
   403            - azure
   404            - cluster
   405            - versionBundle
   406            type: object
   407          status:
   408            properties:
   409              cluster:
   410                properties:
   411                  conditions:
   412                    description: Conditions is a list of status information expressing
   413                      the current conditional state of a guest cluster. This may reflect
   414                      the status of the guest cluster being updating or being up to
   415                      date.
   416                    items:
   417                      description: StatusClusterCondition expresses the conditions in
   418                        which a guest cluster may is.
   419                      properties:
   420                        lastTransitionTime:
   421                          description: LastTransitionTime is the last time the condition
   422                            transitioned from one status to another.
   423                          format: date-time
   424                          nullable: true
   425                          type: string
   426                        status:
   427                          description: Status may be True, False or Unknown.
   428                          type: string
   429                        type:
   430                          description: Type may be Creating, Created, Scaling, Scaled,
   431                            Draining, Drained, Updating, Updated, Deleting, Deleted.
   432                          type: string
   433                      type: object
   434                    nullable: true
   435                    type: array
   436                  network:
   437                    description: StatusClusterNetwork expresses the network segment
   438                      that is allocated for a guest cluster.
   439                    nullable: true
   440                    properties:
   441                      cidr:
   442                        type: string
   443                    type: object
   444                  nodes:
   445                    description: Nodes is a list of guest cluster node information reflecting
   446                      the current state of the guest cluster nodes.
   447                    items:
   448                      description: StatusClusterNode holds information about a guest
   449                        cluster node.
   450                      properties:
   451                        labels:
   452                          additionalProperties:
   453                            type: string
   454                          description: Labels contains the kubernetes labels for corresponding
   455                            node.
   456                          nullable: true
   457                          type: object
   458                        lastTransitionTime:
   459                          description: LastTransitionTime is the last time the condition
   460                            transitioned from one status to another.
   461                          format: date-time
   462                          nullable: true
   463                          type: string
   464                        name:
   465                          description: Name referrs to a tenant cluster node name.
   466                          type: string
   467                        version:
   468                          description: Version referrs to the version used by the node
   469                            as mandated by the provider operator.
   470                          type: string
   471                      type: object
   472                    nullable: true
   473                    type: array
   474                  resources:
   475                    description: Resources is a list of arbitrary conditions of operatorkit
   476                      resource implementations.
   477                    items:
   478                      description: Resource is structure holding arbitrary conditions
   479                        of operatorkit resource implementations. Imagine an operator
   480                        implements an instance resource. This resource may operates
   481                        sequentially but has to operate based on a certain system state
   482                        it manages. So it tracks the status as needed here specific
   483                        to its own implementation and means in order to fulfil its premise.
   484                      properties:
   485                        conditions:
   486                          items:
   487                            description: StatusClusterResourceCondition expresses the
   488                              conditions in which an operatorkit resource may is.
   489                            properties:
   490                              lastTransitionTime:
   491                                description: LastTransitionTime is the last time the
   492                                  condition transitioned from one status to another.
   493                                format: date-time
   494                                nullable: true
   495                                type: string
   496                              status:
   497                                description: Status may be True, False or Unknown.
   498                                type: string
   499                              type:
   500                                description: Type may be anything an operatorkit resource
   501                                  may define.
   502                                type: string
   503                            type: object
   504                          nullable: true
   505                          type: array
   506                        name:
   507                          type: string
   508                      type: object
   509                    nullable: true
   510                    type: array
   511                  scaling:
   512                    description: StatusClusterScaling expresses the current status of
   513                      desired number of worker nodes in guest cluster.
   514                    nullable: true
   515                    properties:
   516                      desiredCapacity:
   517                        type: integer
   518                    type: object
   519                  versions:
   520                    description: Versions is a list that acts like a historical track
   521                      record of versions a guest cluster went through. A version is
   522                      only added to the list as soon as the guest cluster successfully
   523                      migrated to the version added here.
   524                    items:
   525                      description: StatusClusterVersion expresses the versions in which
   526                        a guest cluster was and may still be.
   527                      properties:
   528                        date:
   529                          description: "TODO date is deprecated due to LastTransitionTime
   530                            This can be removed ones the new properties are properly
   531                            used in all tenant clusters. \n     https://github.com/giantswarm/giantswarm/issues/3988"
   532                          format: date-time
   533                          nullable: true
   534                          type: string
   535                        lastTransitionTime:
   536                          description: LastTransitionTime is the last time the condition
   537                            transitioned from one status to another.
   538                          format: date-time
   539                          nullable: true
   540                          type: string
   541                        semver:
   542                          description: Semver is some semver version, e.g. 1.0.0.
   543                          type: string
   544                      type: object
   545                    nullable: true
   546                    type: array
   547                type: object
   548              provider:
   549                properties:
   550                  availabilityZones:
   551                    items:
   552                      type: integer
   553                    nullable: true
   554                    type: array
   555                  ingress:
   556                    nullable: true
   557                    properties:
   558                      loadBalancer:
   559                        nullable: true
   560                        properties:
   561                          publicIPName:
   562                            type: string
   563                        type: object
   564                    type: object
   565                type: object
   566            type: object
   567        required:
   568        - metadata
   569        - spec
   570        type: object
   571    version: v1alpha1
   572    versions:
   573    - name: v1alpha1
   574      served: true
   575      storage: true
   576  status:
   577    acceptedNames:
   578      kind: ""
   579      plural: ""
   580    conditions: []
   581    storedVersions: []