sigs.k8s.io/cluster-api-provider-azure@v1.14.3/templates/test/ci/patches/azuremachinetemplate-vmextension.yaml (about)

     1  ---
     2  apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
     3  kind: AzureMachineTemplate
     4  metadata:
     5    name: ${CLUSTER_NAME}-md-0
     6    namespace: default
     7  spec:
     8    template:
     9      spec:
    10        vmExtensions:
    11        - name: CustomScript
    12          publisher: Microsoft.Azure.Extensions
    13          version: '2.1'
    14          protectedSettings:
    15            commandToExecute: |
    16              #!/bin/sh
    17              echo "This script is a no-op used for extension testing purposes ..."
    18              touch test_file