Files
kubespray-dualstack/terraform/configs/cloud-init/worker.yaml.tpl
T
2025-08-20 13:53:21 +03:00

38 lines
629 B
Smarty

#cloud-config
hostname: worker
manage_etc_hosts: false
users:
- name: ubuntu
gecos: ubuntu
sudo: ALL=(ALL) NOPASSWD:ALL
lock_passwd: false
ssh_pwauth: true
shell: /bin/bash
ssh_authorized_keys:
- ${ssh_public_key}
ssh_pwauth: true
chpasswd:
list: |
ubuntu:ubuntu
expire: false
growpart:
mode: auto
devices: ["/"]
package_update: false
package_upgrade: false
write_files:
- path: /etc/hosts
append: true
encoding: b64
content: ${hosts_file}
- path: /home/ubuntu/manifest.yaml
owner: ubuntu:ubuntu
encoding: b64
defer: true
content: ${manifest_file}