sigs.k8s.io/cluster-api-provider-azure@v1.14.3/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.6.4
     7      loadBehavior: tryLoad
     8    - name: registry.k8s.io/cluster-api/kubeadm-bootstrap-controller:v1.6.4
     9      loadBehavior: tryLoad
    10    - name: registry.k8s.io/cluster-api/kubeadm-control-plane-controller:v1.6.4
    11      loadBehavior: tryLoad
    12    - name: registry.k8s.io/cluster-api-helm/cluster-api-helm-controller:v0.1.1-alpha.1
    13      loadBehavior: tryLoad
    14  
    15  providers:
    16    - name: cluster-api
    17      type: CoreProvider
    18      versions:
    19      - name: v1.5.8 # 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.5.8/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.6.4
    29        value: https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.6.4/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.5.8 # 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.5.8/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.6.4
    52        value: https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.6.4/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.5.8 # 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.5.8/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.6.4
    74        value: https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.6.4/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.12.2 # 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.12.2/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.12.2/cluster-template-prow.yaml"
    93          targetName: "cluster-template.yaml"
    94        replacements:
    95        - old: "imagePullPolicy: Always"
    96          new: "imagePullPolicy: IfNotPresent"
    97      - name: v1.13.0 # 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.13.0/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.13.0/cluster-template-prow.yaml"
   104          targetName: "cluster-template.yaml"
   105        replacements:
   106        - old: "imagePullPolicy: Always"
   107          new: "imagePullPolicy: IfNotPresent"
   108      - name: v1.14.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/ci/cluster-template-prow-machine-pool-flex.yaml"
   139          targetName: "cluster-template-machine-pool-flex.yaml"
   140        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-workload-identity.yaml"
   141          targetName: "cluster-template-workload-identity.yaml"
   142        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-aks.yaml"
   143          targetName: "cluster-template-aks.yaml"
   144        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-aks-clusterclass.yaml"
   145          targetName: "cluster-template-aks-clusterclass.yaml"
   146        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-custom-vnet.yaml"
   147          targetName: "cluster-template-custom-vnet.yaml"
   148        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-dual-stack.yaml"
   149          targetName: "cluster-template-dual-stack.yaml"
   150        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-clusterclass-ci-default.yaml"
   151          targetName: "clusterclass-ci-default.yaml"
   152        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-aks-clusterclass.yaml"
   153          targetName: "clusterclass-default.yaml"
   154        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-topology.yaml"
   155          targetName: "cluster-template-topology.yaml"
   156        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-flatcar.yaml"
   157          targetName: "cluster-template-flatcar.yaml"
   158        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-edgezone.yaml"
   159          targetName: "cluster-template-edgezone.yaml"
   160        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-azure-cni-v1.yaml"
   161          targetName: "cluster-template-azure-cni-v1.yaml"
   162        - sourcePath: "${PWD}/templates/test/ci/cluster-template-prow-spot.yaml"
   163          targetName: "cluster-template-spot.yaml"
   164        replacements:
   165        - old: "--v=0"
   166          new: "--v=2"
   167    - name: helm
   168      type: AddonProvider
   169      versions:
   170      - name: v0.1.0-alpha.10
   171        value: https://github.com/kubernetes-sigs/cluster-api-addon-provider-helm/releases/download/v0.1.0-alpha.10/addon-components.yaml
   172        type: url
   173        contract: v1beta1
   174        files:
   175        - sourcePath: "../data/shared/v1beta1_addon_provider/metadata.yaml"
   176        replacements:
   177        - old: "imagePullPolicy: Always"
   178          new: "imagePullPolicy: IfNotPresent"
   179      - name: v0.1.1-alpha.1
   180        value: https://github.com/kubernetes-sigs/cluster-api-addon-provider-helm/releases/download/v0.1.1-alpha.1/addon-components.yaml
   181        type: url
   182        contract: v1beta1
   183        files:
   184        - sourcePath: "../data/shared/v1beta1_addon_provider/metadata.yaml"
   185        replacements:
   186        - old: "imagePullPolicy: Always"
   187          new: "imagePullPolicy: IfNotPresent"
   188  
   189  variables:
   190    AKS_KUBERNETES_VERSION: "latest"
   191    AKS_KUBERNETES_VERSION_UPGRADE_FROM: "latest-1"
   192    KUBERNETES_VERSION: "${KUBERNETES_VERSION:-stable-1.27}"
   193    FLATCAR_KUBERNETES_VERSION: "${FLATCAR_KUBERNETES_VERSION:-stable-1.26}"
   194    KUBERNETES_VERSION_API_UPGRADE_FROM: "v1.26.12"
   195    FLATCAR_VERSION: "${FLATCAR_VERSION:-latest}"
   196    ETCD_VERSION_UPGRADE_TO: "3.5.4-0"
   197    COREDNS_VERSION_UPGRADE_TO: "v1.9.3"
   198    KUBERNETES_VERSION_UPGRADE_TO: "${KUBERNETES_VERSION_UPGRADE_TO:-stable-1.28}"
   199    KUBERNETES_VERSION_UPGRADE_FROM: "${KUBERNETES_VERSION_UPGRADE_FROM:-stable-1.27}"
   200    CNI: "${PWD}/templates/addons/calico.yaml"
   201    ADDONS_PATH: "${PWD}/templates/addons"
   202    REDACT_LOG_SCRIPT: "${PWD}/hack/log/redact.sh"
   203    EXP_AKS_RESOURCE_HEALTH: "true"
   204    EXP_MACHINE_POOL: "true"
   205    EXP_CLUSTER_RESOURCE_SET: "true"
   206    EXP_EDGEZONE: "true"
   207    CLUSTER_TOPOLOGY: "true"
   208    EXP_KUBEADM_BOOTSTRAP_FORMAT_IGNITION: "true"
   209    AZURE_EXTENDEDLOCATION_TYPE: "${AZURE_EXTENDEDLOCATION_TYPE:-EdgeZone}"
   210    AZURE_EXTENDEDLOCATION_NAME: "${AZURE_EXTENDEDLOCATION_NAME:-microsoftvancouver1}"
   211    CONFORMANCE_WORKER_MACHINE_COUNT: "2"
   212    CONFORMANCE_CONTROL_PLANE_MACHINE_COUNT: "${CONFORMANCE_CONTROL_PLANE_MACHINE_COUNT:-1}"
   213    CONFORMANCE_IMAGE: "${CONFORMANCE_IMAGE:-}"
   214    CONFORMANCE_NODES: "${CONFORMANCE_NODES:-1}"
   215    IP_FAMILY: "IPv4"
   216    CLUSTER_IDENTITY_NAME: "cluster-identity-sp"
   217    NODE_DRAIN_TIMEOUT: "60s"
   218    CI_VERSION: ""
   219    KUBETEST_CONFIGURATION: "./data/kubetest/conformance.yaml"
   220    WINDOWS_CONTAINERD_URL: "${WINDOWS_CONTAINERD_URL:-}"
   221    SECURITY_SCAN_FAIL_THRESHOLD: "${SECURITY_SCAN_FAIL_THRESHOLD:-100}"
   222    SECURITY_SCAN_CONTAINER: "${SECURITY_SCAN_CONTAINER:-quay.io/armosec/kubescape:v2.0.167}"
   223    AZURE_CNI_V1_MANIFEST_PATH: "${PWD}/templates/addons/azure-cni-v1.yaml"
   224    OLD_CAPI_UPGRADE_VERSION: "v1.5.8"
   225    LATEST_CAPI_UPGRADE_VERSION: "v1.5.8"
   226    OLD_PROVIDER_UPGRADE_VERSION: "v1.12.2"
   227    LATEST_PROVIDER_UPGRADE_VERSION: "v1.13.0"
   228    OLD_CAAPH_UPGRADE_VERSION: "v0.1.0-alpha.10"
   229    LATEST_CAAPH_UPGRADE_VERSION: "v0.1.1-alpha.1"
   230  
   231  intervals:
   232    default/wait-controllers: ["3m", "10s"]
   233    default/wait-cluster: ["20m", "10s"]
   234    default/wait-private-cluster: ["30m", "10s"]
   235    default/wait-control-plane: ["20m", "10s"]
   236    default/wait-control-plane-ha: ["30m", "10s"]
   237    default/wait-worker-nodes: ["25m", "10s"]
   238    default/wait-gpu-nodes: ["30m", "10s"]
   239    default/wait-delete-cluster: ["30m", "10s"]
   240    default/wait-delete-cluster-aks: ["30m", "10s"]
   241    default/wait-machine-upgrade: ["60m", "10s"]
   242    default/wait-machine-pool-upgrade: ["60m", "10s"]
   243    default/wait-machine-remediation: ["30m", "10s"]
   244    default/wait-deployment: ["15m", "10s"]
   245    default/wait-daemonset: ["15m", "10s"]
   246    default/wait-deployment-available: ["15m", "10s"]
   247    default/wait-job: ["5m", "10s"]
   248    default/wait-service: ["15m", "10s"]
   249    default/wait-machine-pool-nodes: ["30m", "10s"]
   250    default/wait-nsg-update: ["20m", "10s"]
   251    csi-migration/wait-controlplane-upgrade: ["60m", "10s"]
   252    csi-migration/wait-worker-nodes: ["60m", "10s"]
   253    csi-migration/wait-control-plane: ["60m", "10s"]
   254    csi-migration/wait-cluster: ["60m", "10s"]
   255    node-drain/wait-machine-deleted: [ "10m", "10s" ]