os/butane/k8s-leader-install.yaml

36 lines
1.6 KiB
YAML
Raw Normal View History

2022-12-02 10:39:11 +01:00
variant: flatcar
version: 1.0.0
2022-12-02 11:35:12 +01:00
passwd:
users:
- name: cadoles
password_hash: "$y$j9T$7dNoyJBSiQ5dJ6.kLs17I0$G9VVQkBUddW2E6TVQchecSE94jNxLz4F3wguz5QkvD8"
groups:
- wheel
- sudo
ssh_authorized_keys:
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDDph3zh6ojSvH44k13z9B6xj+Hargo3uzkxnYv5s5NI4yagNuBXEc3aS++KdocND+FtVfLK+iVE8qHo2bvmpMmVkqU6WU2apN7DfIP0QGLlSGeo+UOZ9hGeEDlgVO4AOnZKZ5kPGBEPZ84JXuE9CmhKfwEVCK8w3B8XQttA8alFl4A4/4F14x2w4njsSLY1H3b0qah7hgYKU5zHIGLg8Lxx+1BxGIF0l5n5m5rqAskRNaF+aYbs0CcWHv49bPK0sJJ0qPV2r2sq8BlzuZFHExnZRIxpsIXdce4Bm4rdlGi7tBmmurLk4OOtDkwvhD0LMaNJf10k6QLSmRUTVzgsYz/dmGxopbMtwwIXkwi014uSZgi8wAuznXx5I4j2TUGPZHOVf+1iw/yaxWlgTVOSoX7ZxyhDgW5cCgZZGNzU5UWe0vUuVTB+hfSMj50/Q6+Vi92/mDMbPhm4nBoVzD5DT15mB+yGyN45Ej61m0JzVUyZexfvVaffEug1/u5dnwilP0WGKr4i2OXxOXtvSdAs5rlZjvppZk6IxRCwXIcPwEFL97ZrQZAxlVS5Nh+ZnlSwTe3zfQhzHj1ao0AdCAHFPUEdoUPJhSb0OjyCvZ9XZ1KCkXhuhuN/3IUhuoWl4soNCeC3KmU/USx1wda438Exj0hM1mTyBZScDPGyD9nw78DGw== Philippe Caseiro"
2022-12-02 10:39:11 +01:00
systemd:
units:
2022-12-02 11:19:33 +01:00
- name: installer.service
2022-12-02 10:39:11 +01:00
enabled: true
contents: |
[Unit]
2022-12-02 11:19:33 +01:00
Requires=network-online.target
2022-12-02 10:39:11 +01:00
After=network-online.target
[Service]
Type=forking
2022-12-02 11:19:33 +01:00
TimeoutStartSec=600
2022-12-02 10:39:11 +01:00
RemainAfterExit=yes
2022-12-02 12:24:23 +01:00
ExecStart=/usr/bin/sh -c "/opt/ckube-install"
2022-12-02 10:39:11 +01:00
[Install]
WantedBy=multi-user.target
storage:
files:
2022-12-02 11:19:33 +01:00
- path: /opt/ignition.json
2022-12-02 11:21:39 +01:00
mode: 0700
2022-12-02 10:39:11 +01:00
contents:
2022-12-02 12:24:23 +01:00
source: http://192.168.40.3/leader.json
- path: /opt/ckube-install
mode: 0700
contents:
source: http://192.168.40.3/ckube-install