github.com/giantswarm/apiextensions/v2@v2.6.2/helm/apiextensions-azure-config-e2e-chart/templates/cluster.yaml (about)

     1  apiVersion: "provider.giantswarm.io/v1alpha1"
     2  kind: AzureConfig
     3  metadata:
     4    name: "{{ .Values.clusterName }}"
     5    namespace: "default"
     6    labels:
     7      giantswarm.io/cluster: "{{ .Values.clusterName }}"
     8      azure-operator.giantswarm.io/version: "{{ .Values.versionBundleVersion }}"
     9  spec:
    10    azure:
    11      {{ if gt (len .Values.azure.availabilityZones) 0 -}}
    12      availabilityZones:
    13      {{ range .Values.azure.availabilityZones -}}
    14      - {{ . }}
    15      {{ end -}}
    16      {{ else -}}
    17      availabilityZones: []
    18      {{ end -}}
    19      credentialSecret:
    20        name: "credential-default"
    21        namespace: "giantswarm"
    22      dnsZones:
    23        api:
    24          name: "{{ .Values.commonDomain }}"
    25          resourceGroup: "{{ .Values.commonDomainResourceGroup }}"
    26        etcd:
    27          name: "{{ .Values.commonDomain }}"
    28          resourceGroup: "{{ .Values.commonDomainResourceGroup }}"
    29        ingress:
    30          name: "{{ .Values.commonDomain }}"
    31          resourceGroup: "{{ .Values.commonDomainResourceGroup }}"
    32      location: "{{ .Values.azure.location }}"
    33      masters:
    34      - vmSize: "{{ .Values.azure.vmSizeMaster }}"
    35      workers:
    36      - vmSize: "{{ .Values.azure.vmSizeWorker }}"
    37      - vmSize: "{{ .Values.azure.vmSizeWorker }}"
    38      virtualNetwork:
    39        calicoSubnetCIDR: "{{ .Values.azure.calicoSubnetCIDR }}"
    40        cidr: "{{ .Values.azure.cidr }}"
    41        masterSubnetCIDR: "{{ .Values.azure.masterSubnetCIDR }}"
    42        workerSubnetCIDR: "{{ .Values.azure.workerSubnetCIDR }}"
    43    cluster:
    44      calico:
    45        cidr: 16
    46        domain: "calico.{{ .Values.clusterName }}.k8s.{{ .Values.commonDomain }}"
    47        mtu: 1500
    48      customer:
    49        id: "example-customer"
    50      docker:
    51        daemon:
    52          cidr: "172.17.0.1/16"
    53          extraArgs: "--log-opt max-size=25m --log-opt max-file=2 --log-opt labels=io.kubernetes.container.hash,io.kubernetes.container.name,io.kubernetes.pod.name,io.kubernetes.pod.namespace,io.kubernetes.pod.uid"
    54      etcd:
    55        domain: "etcd.{{ .Values.clusterName }}.k8s.{{ .Values.commonDomain }}"
    56        prefix: "giantswarm.io"
    57        port: 2379
    58      id: "{{ .Values.clusterName }}"
    59      kubernetes:
    60        api:
    61          altNames: "kubernetes,kubernetes.default,kubernetes.default.svc,kubernetes.default.svc.cluster.local"
    62          clusterIPRange: "172.31.0.0/16"
    63          domain: "api.{{ .Values.clusterName }}.k8s.{{ .Values.commonDomain }}"
    64          insecurePort: 8080
    65          ip: "172.31.0.1"
    66          securePort: 443
    67        cloudProvider: "azure"
    68        dns:
    69          ip: "172.31.0.10"
    70        domain: "cluster.local"
    71        ingressController:
    72          insecurePort: 30010
    73          securePort: 30011
    74          domain: "ingress.{{ .Values.clusterName }}.k8s.{{ .Values.commonDomain }}"
    75          wildcardDomain: "*.{{ .Values.clusterName }}.k8s.{{ .Values.commonDomain }}"
    76        kubelet:
    77          altNames: "kubernetes,kubernetes.default,kubernetes.default.svc,kubernetes.default.svc.cluster.local"
    78          domain: "worker.{{ .Values.clusterName }}.k8s.{{ .Values.commonDomain }}"
    79          labels: "giantswarm.io/provider=azure,azure-operator.giantswarm.io/version={{ .Values.versionBundleVersion }}"
    80          port: 10250
    81        networkSetup:
    82          docker:
    83            image: "quay.io/giantswarm/k8s-setup-network-environment:1f4ffc52095ac368847ce3428ea99b257003d9b9"
    84        ssh:
    85          userList:
    86          - name: "{{ .Values.sshUser }}"
    87            publicKey: "{{ .Values.sshPublicKey }}"
    88    versionBundle:
    89      version: "{{ .Values.versionBundleVersion }}"