sigs.k8s.io/cluster-api-provider-azure@v1.17.0/test/e2e/config/azure-dev.yaml (about)

     1  managementClusterName: capz-e2e
     2  
     3  images:
     4    - name: ${MANAGER_IMAGE}
     5      loadBehavior: mustLoad
     6    - name: registry.k8s.io/cluster-api/cluster-api-controller:v1.8.3
     7      loadBehavior: tryLoad
     8    - name: registry.k8s.io/cluster-api/kubeadm-bootstrap-controller:v1.8.3
     9      loadBehavior: tryLoad
    10    - name: registry.k8s.io/cluster-api/kubeadm-control-plane-controller:v1.8.3
    11      loadBehavior: tryLoad
    12    - name: registry.k8s.io/cluster-api-helm/cluster-api-helm-controller:v0.2.5
    13      loadBehavior: tryLoad
    14  
    15  providers:
    16    - name: cluster-api
    17      type: CoreProvider
    18      versions:
    19      - name: v1.7.6 # latest patch of earliest minor in supported v1beta1 releases; this is used for v1beta1 old --> v1beta1 latest clusterctl upgrades test only.
    20        value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.7.6/core-components.yaml"
    21        type: "url"
    22        contract: v1beta1
    23        replacements:
    24          - old: --metrics-addr=127.0.0.1:8080
    25            new: --metrics-addr=:8080
    26        files:
    27          - sourcePath: "../data/shared/v1beta1/metadata.yaml"
    28      - name: v1.8.3
    29        value: https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.8.3/core-components.yaml
    30        type: url
    31        contract: v1beta1
    32        files:
    33        - sourcePath: "../data/shared/v1beta1/metadata.yaml"
    34        replacements:
    35        - old: "imagePullPolicy: Always"
    36          new: "imagePullPolicy: IfNotPresent"
    37  
    38  
    39    - name: kubeadm
    40      type: BootstrapProvider
    41      versions:
    42      - name: v1.7.6 # latest patch of earliest minor in supported v1beta1 releases; this is used for v1beta1 old --> v1beta1 latest clusterctl upgrades test only.
    43        value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.7.6/bootstrap-components.yaml"
    44        type: "url"
    45        contract: v1beta1
    46        replacements:
    47          - old: --metrics-addr=127.0.0.1:8080
    48            new: --metrics-addr=:8080
    49        files:
    50          - sourcePath: "../data/shared/v1beta1/metadata.yaml"
    51      - name: v1.8.3
    52        value: https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.8.3/bootstrap-components.yaml
    53        type: url
    54        contract: v1beta1
    55        files:
    56        - sourcePath: "../data/shared/v1beta1/metadata.yaml"
    57        replacements:
    58        - old: "imagePullPolicy: Always"
    59          new: "imagePullPolicy: IfNotPresent"
    60  
    61    - name: kubeadm
    62      type: ControlPlaneProvider
    63      versions:
    64      - name: v1.7.6 # latest patch of earliest minor in supported v1beta1 releases; this is used for v1beta1 old --> v1beta1 latest clusterctl upgrades test only.
    65        value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.7.6/control-plane-components.yaml"
    66        type: "url"
    67        contract: v1beta1
    68        replacements:
    69          - old: --metrics-addr=127.0.0.1:8080
    70            new: --metrics-addr=:8080
    71        files:
    72          - sourcePath: "../data/shared/v1beta1/metadata.yaml"
    73      - name: v1.8.3
    74        value: https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.8.3/control-plane-components.yaml
    75        type: url
    76        contract: v1beta1
    77        files:
    78        - sourcePath: "../data/shared/v1beta1/metadata.yaml"
    79        replacements:
    80        - old: "imagePullPolicy: Always"
    81          new: "imagePullPolicy: IfNotPresent"
    82  
    83    - name: azure
    84      type: InfrastructureProvider
    85      versions:
    86      - name: v1.15.3 # latest patch of earliest minor in supported v1beta1 releases; this is used for v1beta1 old --> v1beta1 latest clusterctl upgrades test only.
    87        value: https://github.com/kubernetes-sigs/cluster-api-provider-azure/releases/download/v1.15.3/infrastructure-components.yaml
    88        type: url
    89        contract: v1beta1
    90        files:
    91        - sourcePath: "../data/shared/v1beta1_provider/metadata.yaml"
    92        - sourcePath: "../data/infrastructure-azure/v1.15.3/cluster-template-prow.yaml"
    93          targetName: "cluster-template.yaml"
    94        replacements:
    95        - old: "imagePullPolicy: Always"
    96          new: "imagePullPolicy: IfNotPresent"
    97      - name: v1.16.1 # latest patch of latest minor in supported v1beta1 releases; this is used for v1beta1 latest --> v1beta1 current clusterctl upgrades test only.
    98        value: https://github.com/kubernetes-sigs/cluster-api-provider-azure/releases/download/v1.16.1/infrastructure-components.yaml
    99        type: url
   100        contract: v1beta1
   101        files:
   102        - sourcePath: "../data/shared/v1beta1_provider/metadata.yaml"
   103        - sourcePath: "../data/infrastructure-azure/v1.16.1/cluster-template-prow.yaml"
   104          targetName: "cluster-template.yaml"
   105        replacements:
   106        - old: "imagePullPolicy: Always"
   107          new: "imagePullPolicy: IfNotPresent"
   108      - name: v1.17.99 # "vNext"; use manifests from local source files
   109        value: "${PWD}/config/default"
   110        contract: v1beta1
   111        files:
   112        - sourcePath: "../data/shared/v1beta1_provider/metadata.yaml"
   113        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow.yaml"
   114          targetName: "cluster-template.yaml"
   115        - sourcePath: "../data/infrastructure-azure/v1beta1/cluster-template.yaml"
   116          targetName: "cluster-template-management.yaml"
   117        - sourcePath: "../data/infrastructure-azure/v1beta1/cluster-template-md-remediation.yaml"
   118        - sourcePath: "../data/infrastructure-azure/v1beta1/cluster-template-kcp-remediation.yaml"
   119        - sourcePath: "../data/infrastructure-azure/v1beta1/cluster-template-kcp-scale-in.yaml"
   120        - sourcePath: "../data/infrastructure-azure/v1beta1/cluster-template-node-drain.yaml"
   121        - sourcePath: "../data/infrastructure-azure/v1beta1/cluster-template-upgrades.yaml"
   122        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-machine-pool.yaml"
   123          targetName: "cluster-template-machine-pool.yaml"
   124        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-ipv6.yaml"
   125          targetName: "cluster-template-ipv6.yaml"
   126        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-nvidia-gpu.yaml"
   127          targetName: "cluster-template-nvidia-gpu.yaml"
   128        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-private.yaml"
   129          targetName: "cluster-template-private.yaml"
   130        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-ci-version.yaml"
   131          targetName: "cluster-template-conformance-ci-artifacts.yaml"
   132        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-ci-version-ipv6.yaml"
   133          targetName: "cluster-template-conformance-ci-artifacts-ipv6.yaml"
   134        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-ci-version-dual-stack.yaml"
   135          targetName: "cluster-template-conformance-ci-artifacts-dual-stack.yaml"
   136        - sourcePath: "${PWD}/templates/test/dev/cluster-template-custom-builds.yaml"
   137          targetName: "cluster-template-conformance-presubmit-artifacts.yaml"
   138        - sourcePath: "${PWD}/templates/test/dev/cluster-template-custom-builds-dra.yaml"
   139          targetName: "cluster-template-conformance-presubmit-artifacts-dra.yaml"
   140        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-ci-version-dra.yaml"
   141          targetName: "cluster-template-conformance-ci-artifacts-dra.yaml"
   142        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-machine-pool-flex.yaml"
   143          targetName: "cluster-template-machine-pool-flex.yaml"
   144        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-aks.yaml"
   145          targetName: "cluster-template-aks.yaml"
   146        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-aks-topology.yaml"
   147          targetName: "cluster-template-aks-topology.yaml"
   148        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-aks-aso.yaml"
   149          targetName: "cluster-template-aks-aso.yaml"
   150        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-custom-vnet.yaml"
   151          targetName: "cluster-template-custom-vnet.yaml"
   152        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-dual-stack.yaml"
   153          targetName: "cluster-template-dual-stack.yaml"
   154        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-clusterclass-ci-default.yaml"
   155          targetName: "clusterclass-ci-default.yaml"
   156        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-aks-clusterclass.yaml"
   157          targetName: "clusterclass-default.yaml"
   158        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-topology.yaml"
   159          targetName: "cluster-template-topology.yaml"
   160        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-flatcar.yaml"
   161          targetName: "cluster-template-flatcar.yaml"
   162        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-edgezone.yaml"
   163          targetName: "cluster-template-edgezone.yaml"
   164        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-azure-cni-v1.yaml"
   165          targetName: "cluster-template-azure-cni-v1.yaml"
   166        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-spot.yaml"
   167          targetName: "cluster-template-spot.yaml"
   168        replacements:
   169        - old: "--v=0"
   170          new: "--v=2"
   171    - name: helm
   172      type: AddonProvider
   173      versions:
   174      - name: v0.1.0-alpha.10
   175        value: https://github.com/kubernetes-sigs/cluster-api-addon-provider-helm/releases/download/v0.1.0-alpha.10/addon-components.yaml
   176        type: url
   177        contract: v1beta1
   178        files:
   179        - sourcePath: "../data/shared/v1beta1_addon_provider/metadata.yaml"
   180        replacements:
   181        - old: "imagePullPolicy: Always"
   182          new: "imagePullPolicy: IfNotPresent"
   183      - name: v0.2.5
   184        value: https://github.com/kubernetes-sigs/cluster-api-addon-provider-helm/releases/download/v0.2.5/addon-components.yaml
   185        type: url
   186        contract: v1beta1
   187        files:
   188        - sourcePath: "../data/shared/v1beta1_addon_provider/metadata.yaml"
   189        replacements:
   190        - old: "imagePullPolicy: Always"
   191          new: "imagePullPolicy: IfNotPresent"
   192  
   193  variables:
   194    AKS_KUBERNETES_VERSION: "latest"
   195    AKS_KUBERNETES_VERSION_UPGRADE_FROM: "latest-1"
   196    KUBERNETES_VERSION: "${KUBERNETES_VERSION:-stable-1.29}"
   197    FLATCAR_KUBERNETES_VERSION: "${FLATCAR_KUBERNETES_VERSION:-stable-1.26}"
   198    KUBERNETES_VERSION_API_UPGRADE_FROM: "v1.28.10"
   199    FLATCAR_VERSION: "${FLATCAR_VERSION:-latest}"
   200    ETCD_VERSION_UPGRADE_TO: "3.5.10-0"
   201    COREDNS_VERSION_UPGRADE_TO: "v1.11.1"
   202    KUBERNETES_VERSION_UPGRADE_TO: "${KUBERNETES_VERSION_UPGRADE_TO:-stable-1.29}"
   203    KUBERNETES_VERSION_UPGRADE_FROM: "${KUBERNETES_VERSION_UPGRADE_FROM:-stable-1.28}"
   204    CNI: "${PWD}/templates/addons/calico.yaml"
   205    ADDONS_PATH: "${PWD}/templates/addons"
   206    REDACT_LOG_SCRIPT: "${PWD}/hack/log/redact.sh"
   207    EXP_AKS_RESOURCE_HEALTH: "true"
   208    EXP_MACHINE_POOL: "true"
   209    EXP_CLUSTER_RESOURCE_SET: "true"
   210    EXP_EDGEZONE: "true"
   211    CLUSTER_TOPOLOGY: "true"
   212    EXP_KUBEADM_BOOTSTRAP_FORMAT_IGNITION: "true"
   213    AZURE_EXTENDEDLOCATION_TYPE: "${AZURE_EXTENDEDLOCATION_TYPE:-EdgeZone}"
   214    AZURE_EXTENDEDLOCATION_NAME: "${AZURE_EXTENDEDLOCATION_NAME:-microsoftvancouver1}"
   215    CONFORMANCE_WORKER_MACHINE_COUNT: "2"
   216    CONFORMANCE_CONTROL_PLANE_MACHINE_COUNT: "${CONFORMANCE_CONTROL_PLANE_MACHINE_COUNT:-1}"
   217    CONFORMANCE_IMAGE: "${CONFORMANCE_IMAGE:-}"
   218    CONFORMANCE_NODES: "${CONFORMANCE_NODES:-1}"
   219    IP_FAMILY: "IPv4"
   220    CLUSTER_IDENTITY_NAME: "cluster-identity-ci"
   221    ASO_CREDENTIAL_SECRET_NAME: "aso-credentials"
   222    ASO_CREDENTIAL_SECRET_MODE: workloadidentity
   223    NODE_DRAIN_TIMEOUT: "60s"
   224    CI_VERSION: ""
   225    KUBETEST_CONFIGURATION: "./data/kubetest/conformance.yaml"
   226    WINDOWS_CONTAINERD_URL: "${WINDOWS_CONTAINERD_URL:-}"
   227    SECURITY_SCAN_FAIL_THRESHOLD: "${SECURITY_SCAN_FAIL_THRESHOLD:-100}"
   228    SECURITY_SCAN_CONTAINER: "${SECURITY_SCAN_CONTAINER:-quay.io/armosec/kubescape:v2.0.167}"
   229    AZURE_CNI_V1_MANIFEST_PATH: "${PWD}/templates/addons/azure-cni-v1.yaml"
   230    OLD_CAPI_UPGRADE_VERSION: "v1.7.6"
   231    LATEST_CAPI_UPGRADE_VERSION: "v1.8.3"
   232    OLD_PROVIDER_UPGRADE_VERSION: "v1.15.3"
   233    LATEST_PROVIDER_UPGRADE_VERSION: "v1.16.1"
   234    OLD_CAAPH_UPGRADE_VERSION: "v0.1.0-alpha.10"
   235    LATEST_CAAPH_UPGRADE_VERSION: "v0.2.5"
   236    CI_RG: capz-ci
   237    USER_IDENTITY: cloud-provider-user-identity
   238  
   239  intervals:
   240    default/wait-controllers: ["3m", "10s"]
   241    default/wait-cluster: ["20m", "10s"]
   242    default/wait-private-cluster: ["30m", "10s"]
   243    default/wait-control-plane: ["20m", "10s"]
   244    default/wait-control-plane-ha: ["30m", "10s"]
   245    default/wait-worker-nodes: ["25m", "10s"]
   246    default/wait-gpu-nodes: ["30m", "10s"]
   247    default/wait-delete-cluster: ["30m", "10s"]
   248    default/wait-delete-cluster-aks: ["30m", "10s"]
   249    default/wait-machine-upgrade: ["60m", "10s"]
   250    default/wait-machine-pool-upgrade: ["60m", "10s"]
   251    default/wait-machine-remediation: ["30m", "10s"]
   252    default/wait-deployment: ["15m", "10s"]
   253    default/wait-daemonset: ["15m", "10s"]
   254    default/wait-deployment-available: ["15m", "10s"]
   255    default/wait-job: ["5m", "10s"]
   256    default/wait-service: ["15m", "10s"]
   257    default/wait-machine-pool-nodes: ["30m", "10s"]
   258    default/wait-nsg-update: ["20m", "10s"]
   259    csi-migration/wait-controlplane-upgrade: ["60m", "10s"]
   260    csi-migration/wait-worker-nodes: ["60m", "10s"]
   261    csi-migration/wait-control-plane: ["60m", "10s"]
   262    csi-migration/wait-cluster: ["60m", "10s"]
   263    node-drain/wait-machine-deleted: [ "10m", "10s" ]