sigs.k8s.io/cluster-api-provider-azure@v1.14.3/templates/flavors/clusterclass/kubeadm-config-template.yaml (about)

     1  apiVersion: bootstrap.cluster.x-k8s.io/v1beta1
     2  kind: KubeadmConfigTemplate
     3  metadata:
     4    name: ${CLUSTER_NAME}-md-0
     5    namespace: default
     6  spec:
     7    template:
     8      spec:
     9        files:
    10        - contentFrom:
    11            secret:
    12              key: worker-node-azure.json
    13              name: replace_me
    14          owner: root:root
    15          path: /etc/kubernetes/azure.json
    16          permissions: "0644"
    17        joinConfiguration:
    18          nodeRegistration:
    19            kubeletExtraArgs:
    20              cloud-provider: external
    21            name: '{{ ds.meta_data["local_hostname"] }}'
    22        preKubeadmCommands: []