Ajout snippets cloud-init avec placeholders pour upload manuel
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 17s
CD - Deploy Infrastructure / Deploy on pve1 (push) Failing after 7s
CD - Deploy Infrastructure / Deploy on pve2 (push) Failing after 8s
CD - Deploy Infrastructure / Deploy on pve3 (push) Failing after 7s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 17s
CD - Deploy Infrastructure / Deploy on pve1 (push) Failing after 7s
CD - Deploy Infrastructure / Deploy on pve2 (push) Failing after 8s
CD - Deploy Infrastructure / Deploy on pve3 (push) Failing after 7s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s
This commit is contained in:
parent
104df8d174
commit
b4f0bdf283
2 changed files with 37 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -40,3 +40,6 @@ Thumbs.db
|
||||||
# Temporary files
|
# Temporary files
|
||||||
tmp/
|
tmp/
|
||||||
temp/
|
temp/
|
||||||
|
|
||||||
|
# Cloud-init snippets with secrets
|
||||||
|
snippets/*.yaml
|
||||||
|
|
|
||||||
34
snippets/README.md
Normal file
34
snippets/README.md
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
# Cloud-Init Snippets pour Proxmox
|
||||||
|
|
||||||
|
## Avant l'upload
|
||||||
|
|
||||||
|
Remplace les placeholders dans chaque fichier YAML :
|
||||||
|
|
||||||
|
- `YOUR_SSH_PUBLIC_KEY` : Ta clé SSH publique
|
||||||
|
- `YOUR_FORGEJO_REPO_URL` : URL du dépôt Forgejo (ex: https://forgejo.tellserv.fr/Tellsanguis/Homelab.git)
|
||||||
|
- `YOUR_FORGEJO_TOKEN` : Token Forgejo
|
||||||
|
- `YOUR_K3S_TOKEN` : Token K3S cluster
|
||||||
|
|
||||||
|
## Upload via interface Proxmox
|
||||||
|
|
||||||
|
### acemagician (k3s-server-1)
|
||||||
|
1. Proxmox → acemagician → Datacenter → Storage → local
|
||||||
|
2. Content → Snippets → Upload
|
||||||
|
3. Upload `cloud-init-k3s-server-1.yaml`
|
||||||
|
|
||||||
|
### elitedesk (k3s-server-2)
|
||||||
|
1. Proxmox → elitedesk → Datacenter → Storage → local
|
||||||
|
2. Content → Snippets → Upload
|
||||||
|
3. Upload `cloud-init-k3s-server-2.yaml`
|
||||||
|
|
||||||
|
### thinkpad (etcd-witness)
|
||||||
|
1. Proxmox → thinkpad → Datacenter → Storage → local
|
||||||
|
2. Content → Snippets → Upload
|
||||||
|
3. Upload `cloud-init-etcd-witness.yaml`
|
||||||
|
|
||||||
|
## Vérification
|
||||||
|
|
||||||
|
Après upload, les fichiers doivent être présents dans :
|
||||||
|
- `/var/lib/vz/snippets/cloud-init-k3s-server-1.yaml` (acemagician)
|
||||||
|
- `/var/lib/vz/snippets/cloud-init-k3s-server-2.yaml` (elitedesk)
|
||||||
|
- `/var/lib/vz/snippets/cloud-init-etcd-witness.yaml` (thinkpad)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue