sigs.k8s.io/cluster-api-provider-azure@v1.14.3/templates/test/dev/custom-builds/patches/machine-deployment-pr-version.yaml (about) 1 apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 2 kind: AzureMachineTemplate 3 metadata: 4 name: ${CLUSTER_NAME}-control-plane 5 spec: 6 template: 7 spec: 8 identity: UserAssigned 9 userAssignedIdentities: 10 - providerID: /subscriptions/${AZURE_SUBSCRIPTION_ID}/resourceGroups/${CI_RG:=capz-ci}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/${USER_IDENTITY:=cloud-provider-user-identity} 11 image: 12 # we use the latest image as a workaround there is no published marketplace image for k8s CI versions. 13 # latest binaries and images will get replaced to the desired version by the script above. 14 marketplace: 15 publisher: cncf-upstream 16 offer: capi 17 sku: ubuntu-2204-gen1 18 version: latest 19 --- 20 apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 21 kind: AzureMachineTemplate 22 metadata: 23 name: ${CLUSTER_NAME}-md-0 24 spec: 25 template: 26 spec: 27 identity: UserAssigned 28 userAssignedIdentities: 29 - providerID: /subscriptions/${AZURE_SUBSCRIPTION_ID}/resourceGroups/${CI_RG:=capz-ci}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/${USER_IDENTITY:=cloud-provider-user-identity} 30 image: 31 # we use the latest image as a workaround there is no published marketplace image for k8s CI versions. 32 # latest binaries and images will get replaced to the desired version by the script above. 33 marketplace: 34 publisher: cncf-upstream 35 offer: capi 36 sku: ubuntu-2204-gen1 37 version: latest 38 --- 39 apiVersion: controlplane.cluster.x-k8s.io/v1beta1 40 kind: KubeadmControlPlane 41 metadata: 42 annotations: 43 controlplane.cluster.x-k8s.io/skip-kube-proxy: "true" 44 name: ${CLUSTER_NAME}-control-plane 45 namespace: default 46 spec: 47 kubeadmConfigSpec: 48 clusterConfiguration: 49 kubernetesVersion: ci/${CI_VERSION} 50 verbosity: 5